Ammonia is commonly used in fertilizer because it has the highest nitrogen content of commercial fertilizers, making it essential for crop production. However, two carbon dioxide molecules are made for every molecule of ammonia produced, contributing to excess carbon dioxide in the atmosphere.