Limestone is a carbonate sedimentary rock that is often composed of the skeletal fragments of marine organisms such as coral, foraminifera, and molluscs. Its major materials are the minerals calcite and aragonite, which are different crystal forms of calcium carbonate (CaCO3). A closely related rock is dolomite, which contains a high percentage of the mineral dolomite, CaMg(CO3)2. In old USGS publications, dolomite was referred to as magnesian limestone, a term now reserved for magnesium-deficient dolomites or magnesium-rich.

Travertine limestone terraces of Pamukkale, Turkey.
About 10% of sedimentary rocks are limestones. The solubility of limestone in water and weak acid solutions leads to karst landscapes, in which water erodes the limestone over thousands to millions of years. Most cave systems are through bedrock.

stone has numerous uses: as a building material, an essential component of concrete (Portland cement), as aggregate for the base of roads, as white pigment or filler in products such as toothpaste or paints, as a chemical feedstock for the production of lime, as a soil conditioner, and as a popular decorative addition to rock gardens.