Answer :

Plants get nitrogen from the soil but it has to be turned into nitrates (by lighting or nitrogen fixation); this because nitrogen in the air is very unreactive, Then the animal eats the plant.
Bacteria can get nitrogen simply from the air 

Other Questions