There are several factors that can increase the nitrogen compounds in soil:
Nitrogen Fixation: Certain types of bacteria, such as rhizobia, have the ability to convert atmospheric nitrogen (N₂) into forms that plants can use, a process known as nitrogen fixation. Leguminous plants, such as peas, beans, and clover, have a symbiotic relationship with these nitrogen-fixing bacteria, and their presence can increase the nitrogen compounds in the soil.
Organic Matter Decomposition: When organic matter, such as plant residues or animal waste, decomposes in the soil, nitrogen is released as ammonium (NH₄⁺) ions. This ammonium can then be converted into other nitrogen compounds by various soil microorganisms.