Nitrogen gas makes up about 80% of the gases in the atmosphere and in the soil and can be fixed by specific microbes in conjunction with plants such as clover. Those plants can be eaten by cows or other animals and then excreted, which allows the fixed nitrogen to enter the rest of the ecosystem and start a cycle through other plants and animals.