Sedimentary rock
Quartz arenite
A 'clean' sandstone (arenite: under 15% silt and clay matrix) in which 90% or more of the grains are quartz.
How it forms (petrogenesis)
Sand grains come from weathering and erosion of bedrock and are carried by rivers or wind to where they're deposited. Burial then compacts the sand (mostly in the upper ~1 km) and cements it (mostly at 2–5 km depth), usually with quartz or calcite cement. Quartz arenites are texturally mature to supermature: extensive weathering before and during transport removed nearly everything but quartz, and they are typical of stable cratons.
Source: Wikipedia: Sandstone
In thin section
Rounded quartz grains held together by quartz (or other) cement.



Photos are hosted by their original sites and shown under their open licenses (CC BY, CC BY-SA, public domain or Open Government Licence). Click a photo for its source page.
Other sedimentary rocks
Conglomerate and breccia · Arkose · Lithic arenite · Wacke (greywacke) · Mudrocks: shale, mudstone, siltstone, claystone · Limestone · Chalk · Coquina · Oolite · Travertine and tufa · Dolostone · Chert · Diatomite · Radiolarite · Evaporites: rock salt and gypsum · Banded iron formation · Coal: peat to anthracite · Oil shale
Sources
Panchuk, Physical Geology 9.1: Clastic Sedimentary Rocks · Wikipedia: Sandstone