Here's how it works:
* Sedimentary rocks form from the accumulation of sediments, like mud, sand, and clay.
* These sediments are transported by wind, water, or ice, and then deposited in layers.
* Over time, the weight of overlying layers compresses the sediments, and dissolved minerals in the water cement them together, forming rock.
Examples of sedimentary rocks include:
* Sandstone: Formed from sand grains
* Mudstone: Formed from fine-grained clay and silt
* Limestone: Formed from the accumulation of shells and other organic matter
* Conglomerate: Formed from larger, rounded pebbles