These are rocks produced either by the hardening of mud (containing organic matter) into shale over geological time, or by the collection of calcium carbonate particles, from the shells and skeletons of marine organisms, into limestone and other carbon-containing sedimentary rocks. Together all sedimentary rocks on Earth store 100,000,000 PgC.