nitrogen cycle = decomposing bacteria turn dead/waste matter to ammonium ions (called ammonification) - nitrifying bacteria turn ammonium ions to nitrite ions (called nitrification part 1) - another nitrifying bacteria turns nitrite ions to nitrate ions (called nitrification part 2) - denitrifying bacteria can turn some nitrate ions to nitrogen gas when there is a lack of oxygen (eg. waterlogged soil) - legumes contain nitrogen fixing bacteria that can turn nitrogen gas into any nitrogen containing compound: ammonium, nitrite, nitrate etc (eg. beans, peanuts, peas)