Reduction of nitrates and nitrites to nitrogen by microorganisms.