Decomposition of organic matter by bacteria. NH3, H2S & other foul-smelling molecules are produced in the process. Toxic molecules may be produced as well.