At higher temperatures and pressures,it participates in many complex chemical reactions during rock and mineral formation. Metamorphosis is the only major process in which quartz is either produced or consumed and it disappears from the environment during the formation of new minerals.