denitrification
When plants and other organisms die, decomposers break down their remains. In the process, they release nitrogen in the form of ammonium ions. This process is called ammonification. Nitrifying bacteria change the ammonium ions into nitrites and nitrates. Some of the nitrates are used by plants. The process of converting ammonium ions to nitrites or nitrates is called nitrification. Still other bacteria, called denitrifying bacteria, convert some of the nitrates in soil back into nitrogen gas in a process called denitrification. The process is the opposite of nitrogen fixation. Denitrification returns nitrogen gas back to the atmosphere, where it can continue the nitrogen cycle.