Agriculture contributes to air pollution through the emission of various pollutants, including ammonia, methane, and nitrous oxide. Livestock farming, in particular, releases large quantities of methane and ammonia, which can contribute to the formation of particulate matter and smog. Additionally, the use of heavy machinery in farming operations emits carbon dioxide and other greenhouse gases, exacerbating climate change.