Answer:
it can be done by oxidation and reduction.
Some nitrogen fixing bacterias are also responsible for converting atmospheric nitrogen into nitrates that plants can use (e.g ribozhium )
bacterias in the soil participate in nitrification as well, oxidizing ammonium ions into nitrates which plants can use.
Step-by-step explanation:
Oxidation produces nitrate compounds
reduction produces ammoniacal compounds.