Answer:
Bacteria perform nitrogen fixation.
More bacteria perform nitrification.
Nitrogen, in usable form, is taken up by plants and assimilated into their proteins (becoming part of the plant).
An animal eats the plant and the nitrogen becomes part of the animal’s proteins.
An animal dies and decomposes, or excretes waste, returning the nitrogen to the soil.