Sedimentary rock
Chalk, limestone, and dolomite are all basically made from calcium carbonate. This comes from a mixture of minerals and pieces of animals (especially animal shells). They are mostly formed in oceans.