Forms at or near Earth’s surface in one of several ways:Cementing loose clasts (fragments) of pre-existing rockCementing together loose shells and shell fragmentsAccumulation of organic matter from living organismsPrecipitation of minerals dissolved in water