Here's why:
* Weathering: This is the process that breaks down existing rocks into smaller pieces called sediment. This can be caused by wind, rain, ice, or biological activity.
* Layering: The sediment is then transported by wind, water, or ice and deposited in layers. Over time, these layers are compacted and cemented together, forming sedimentary rock.
There are many different types of sedimentary rocks, depending on the type of sediment and the processes involved in their formation. Some examples include sandstone, limestone, shale, and conglomerate.