Sandstone is a sedimentary rock composed primarily of sand-sized mineral or rock grains cemented together by various natural materials, such as calcium carbonate, silica, iron oxide, or clay. It is a common and widely distributed type of sedimentary rock, formed by the consolidation of sand grains over time through the processes of weathering, erosion, transportation, and deposition.