Sandstone is a sedimentary rock formed from tiny particles of sand (which are primarily made of quartz) that are cemented together by minerals like calcite, silica, or iron oxide.
Here's a little more about how it forms:
* Erosion: Weathering breaks down rocks into sand-sized particles.
* Transportation: Wind, water, or ice carry the sand particles to a new location.
* Deposition: The sand is deposited, often in layers, in a lake, river, ocean, or desert.
* Cementation: Over time, minerals dissolved in groundwater precipitate between the sand grains, binding them together.
This process can take millions of years to create the sturdy sandstone we know today.