Sandstone is a type of sedimentary rock that forms when sand-sized mineral particles or rock fragments are cemented together. It can be formed in a variety of environments, including rivers, lakes, and oceans. Sandstone is often rich in quartz and feldspar, and can have a range of different colors and textures.