A sedimentary rock consisting principally of calcium carbonate. Limestones may be formed by deposits of shell/corals and/or from chemical precipitation in shallow seas.