describe the processes that must happen for sand to eventally become metamorphic rock.

Sand transforming into metamorphic rock is a multistage geological process involving several steps and conditions that must be met along the way. Below are the processes involved in this transformation:

1. Deposition and Lithification:
- Erosion and weathering of existing rocks produce small particles, including sand grains.
- These grains are transported by wind, water, or ice and are deposited in layers in sedimentary basins, such as river beds, beaches, or the ocean floor.
- Over time, more layers of sediments are deposited on top, creating pressure that compacts the particles.
- Groundwater percolates through the sediments, depositing minerals such as silica, calcite, and iron oxide. These minerals act as cement, binding the sand grains together to form sedimentary rock, specifically sandstone.

2. Burial and Increase in Pressure and Temperature:
- Sedimentary rocks, like sandstone, can be buried deeper into the Earth's crust over millions of years due to the movement of tectonic plates and the accumulation of additional sediment layers.
- As the rocks are buried deeper, pressure (lithostatic pressure) and temperature increase.
- The rise in temperature is due to the geothermal gradient, which is the increase in temperature with depth in the Earth's crust, approximately 25-30 degrees Celsius per kilometer of depth.

3. Metamorphism:
- Once the sandstone reaches a certain combination of pressure and temperature, it enters the metamorphic realm. This typically occurs at temperatures above 150-200 degrees Celsius and pressures of several kilobars.
- Metamorphic processes involve recrystallization of the minerals without melting the rock. This can lead to the growth of new, larger crystals and the development of a more compacted and aligned texture.
- In the case of sandstone, which is primarily composed of quartz grains, the original quartz grains can recrystallize under these conditions to form a metamorphic rock called quartzite. Quartzite is essentially solid quartz, and it retains much of the original sandstone's textural appearance but becomes much harder and more resistant to weathering.
- If other minerals are present, they may react to form new metamorphic minerals (e.g., garnet, kyanite, staurolite).

4. Exhumation:
- For a metamorphic rock to be visible at the Earth's surface, it must be uplifted and exhumed, often through tectonic forces such as mountain-building events (orogeny) or the erosion of the overlying material.
- Erosion wears away the surface layers, exposing the deeper rocks. If the erosion rate is fast enough, it can reveal the metamorphic rocks that formed deep within the crust.

The entire process from sand to metamorphic rock can take millions of years and involves complex interactions between the Earth's internal heat, pressure forces, tectonic activity, and surface erosion and deposition. The type and grade of metamorphism depend on the specific pressure-temperature conditions the rock has been subjected to, and these can vary widely based on the geologic setting.