Sedimentary rocks are classified based on the source of their material and how they were formed. The three main types are clastic, formed from fragments of other rocks; chemical, precipitated from solutions; and organic, accumulated from the remains of plants and animals. These classifications help scientists understand the Earth's history and the processes that shape its surface.