The study of the interactions between microorganisms and geological processes, often in extreme environments.