Sedimentary rocks form from the compaction and cementation of sediments like sand, silt, and clay. They make up the majority of Earth's surface but only a small percentage of its crust. Sedimentary rocks are formed through lithification, where pressure forces minerals to cement sediments together. There are three main types - clastic rocks which contain fragments, crystalline rocks formed from mineral precipitation, and bioclastic rocks consisting of plant and animal remains.