Quartz is the second most abundant mineral in the Earth's crust, after feldspar. It is a hard, brittle, and transparent or translucent mineral that is composed of silicon dioxide (SiO2). Quartz can occur in a variety of colors, including clear, white, gray, pink, yellow, and purple. It is also the main component of sand and sandstone.