Bacteria changes nitrogen into ammonium through fixation. The nitrification process is where ammonium gets changed into nitrates by bacteria. Plants absorb the nitrates from soil into their roots through assimilation. When plants die, fungi and bacteria turn nitrogen back into ammonium through ammonification. The denitrification process pushes extra nitrogen from soil into the air. The cycle repeats from step 1. 
Describe the nitrogen cycle