The sun supplies the photosynthetic energy needed by the bacteria that create stromatolites.
Stromatolites are layered, biochemical, accretionary structures that develop in shallow water as a result of the binding, cementing, and encapsulation of sedimentary grains in biofilms (more specifically, microbial mats) by specific microbial lifeforms, particularly cyanobacteria. They display numerous shapes and morphologies, such as conical, stratiform, domal, columnar, and branching kinds. Although they are uncommon now, stromatolites are found in abundance in the Precambrian fossil record. In contrast to Proterozoic stromatolites, which occasionally have large amounts of preserved microbial, very few Archean stromatolites do.
Learn more about stromatolites here
https://brainly.com/question/11623402
#SPJ4