Nitrogen fixing bacteria "fixes" nitrogen found in the air, and produces nitrates. These nitrates are used by the plants as a mineral in photosynthesis.
Break down (or fix) nitrogen so it can be used by the plant. Plants can only use soluble nitrates, and the nitrifying bacteria changes the N2 (nitrogen in the air) into these nitrates (NO3-) that can...