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 limestones.

See also