Natural process that takes free nitrogen (N2) from the air, converts or fixes it in nitrogen compounds that plant use as nutrients, as in fertilizer. In nature, certain bacteria present in the root nodules of legumes such as beans and peas, bluegreen algae, and the lightning flash carry out this process.