Nitrogen is first fixed by bacteria, which live in the root nodules of leguminous plants. In anaerobic conditions, which are maintained with the use of special oxygen absorbing proteins, these enable nitrogen reductase to reduce the nitrogen gas to ammonium ions. The NH4+ ions are released by bacteria in the putrefaction of proteins of dead matter. Chemotrophic bacteria oxidise NH4+ ions to nitrites. Nitrobacter subsequently oxidises nitrites to nitrates in the presence of oxygen. Plants absorb the nitrates.