To remove nitrogen, often through the breakdown of nitrogenous compounds and the release of nitrogen gas.