The document defines various types of sedimentary rocks through their composition and formation processes, including sandstone formed from quartz and feldspar grains, limestone formed from calcite and shells, and shale formed from compacted clay. It also describes processes like compaction, cementation, and erosion that form sedimentary rocks from sediments over time, often preserving fossils.