* Igneous rocks form from the cooling and solidification of magma (underground) or lava (above ground). They can be transformed into sedimentary rocks through weathering and erosion, or into metamorphic rocks through heat and pressure.
* Sedimentary rocks form from the accumulation and cementation of sediments, which are fragments of other rocks, minerals, or organic matter. They can be transformed back into igneous rocks through melting, or into metamorphic rocks through heat and pressure.
* Metamorphic rocks form when existing igneous or sedimentary rocks are transformed by heat, pressure, or chemical reactions without completely melting. They can be transformed back into igneous rocks through melting, or into sedimentary rocks through weathering and erosion.
The rock cycle is a continuous process, and rocks can move through various stages in the cycle, transitioning from one type to another over time.