 Lithotrophs may be present in a variety of environments, including deep terrestrial subsurfaces, soils, mines, and in endolith communities.A primary example of lithotrophs that contribute to soil formation is Cyanobacteria.This group of bacteria are nitrogen-fixing photolithotrophs that are capable of using energy from sunlight and inorganic nutrients from rocks as reductants.