The rock cycle illustrates how rocks transform through various geological processes.
Diagram of the rock cycle showing the transformation of magma, igneous rock, sediment, sedimentary rock, metamorphic rock, and the processes of cooling, melting, weathering and erosion, compaction and cementation, and heat and pressure.