How do micro-organisms help in increasing soil fertility?

Some bacteria like rhizobium and blue green algae like Nostoc and Anabaena present in the soil are able to fix nitrogen gas from the atmosphere to enrich soil with nitrogen and increase its fertility. These micro-organisms are commonly called biological nitrogen fixers.