Limestone is a type of sedimentary rock composed mainly of calcium carbonate (CaCO3), usually in the form of calcite or aragonite. It may also contain considerable amounts of magnesium carbonate (dolomite) as well as minor constituents such as clay, iron carbonate, feldspar, pyrite, and quartz
. It is the main source of the material lime and is widely used in architecture, construction, agriculture, and industry
. Limestone is known for its rich fossil content and is often used as a building stone, for flooring, and in the manufacture of glass and agriculture