Sedimentary rock
Limestone
Made of calcite and aragonite, and by far the most common biochemical sedimentary rock. It fizzes vigorously in dilute hydrochloric acid. Classify it with Folk (grains + spar or micrite) or Dunham (mud vs. grain support).
How it forms (petrogenesis)
Most limestone formed in warm, shallow marine water on continental shelves and carbonate platforms, and most calcium carbonate in the ocean is precipitated by organisms. Reefs grow at low latitudes in shallow water. Carbonate dissolves at depth, below the calcite compensation depth (4,000–7,000 m). Modern lime mud is mostly tiny aragonite needles, though how it forms is still researched. Carbonate sediment cements quickly, typically within a million years.
Source: Wikipedia: Limestone
In thin section
See carbonate components and fossils in thin section.



Photos are hosted by their original sites and shown under their open licenses (CC BY, CC BY-SA, public domain or Open Government Licence). Click a photo for its source page.
More photos and thin sections
Other sedimentary rocks
Conglomerate and breccia · Quartz arenite · Arkose · Lithic arenite · Wacke (greywacke) · Mudrocks: shale, mudstone, siltstone, claystone · Chalk · Coquina · Oolite · Travertine and tufa · Dolostone · Chert · Diatomite · Radiolarite · Evaporites: rock salt and gypsum · Banded iron formation · Coal: peat to anthracite · Oil shale
Sources
Panchuk, Physical Geology 9.2: Chemical and Biochemical Sedimentary Rocks · Wikipedia: Limestone · Rygel & Quinton, Sedimentary Geology 6.3: Carbonate Components and Classification · Wikipedia: Limestone