The production of ammonia from nitrogen containing compounds such as urea, proteins and nucleic acids in the dead remains of organisms and in faeces and urine.
Saprobiotic microorganisms, mainly fungi and bacteria feed on these materials releasing extracellular enzymes. As a result ammonia is released into the soil which dissolves to form ammonium ions.
Nitrogen has entered the non-living component of the ecosystem.