The study of the vast diversity of microorganisms that exist in the environment and their roles in biogeochemical cycles.