Carbonate in marine sediments predominantly comes from calcifying organisms, with a minor contribution from diagenesis and precipitation. Biogenic calcium carbonate has two polymorphs; calcite by foraminifera and coccolith and aragonite by corals and pteropods. While the distribution of foraminifera is generally global, that of corals is subtropical to tropical. Hence the distribution of fossil corals is commonly used as proxy for paleolatitudes. Kiessling et al. (1999) have compiled a database for the “Phanerozoic reefs” including their paleopostions for paleoclimatological reconstructions  Maillet et al. (2021), based on the distribution of Carboniferous coral reefs demonstrated the warm paleoclimatic conditions during the Mississippian, characterized by the wide spread of coral reefs on the supercontinent of Pangea, and this is followed by early Pennsylvanian cooling, marked by rare occurrence of coral reefs.