The presence of nitrogen in petroleum products can negatively affect both the environment and industrial processes. Nitrogen compounds can deactivate catalysts used in other refining processes such as hydrocracking and hydrotreating. Additionally, they contribute to the formation of harmful NOx gases, which are regulated by environmental legislation.