Rhizobium bacteria living in the root nodules of leguminous plants enrich the soil by fixing the atmospheric nitrogen as nitrates which are essential for the growth of plants.
Some free living bacteria in soil, cyanobacteria Nostoc can also fix nitrogen biologically