Here's a breakdown:
* Igneous Rocks: Formed from the cooling and solidification of molten rock (magma or lava).
* Sedimentary Rocks: Formed from the accumulation, compaction, and cementation of sediments derived from pre-existing rocks, minerals, or organic matter.
* Metamorphic Rocks: Formed when existing rocks (igneous, sedimentary, or even other metamorphic rocks) are transformed by heat, pressure, or chemical reactions.
The rock cycle is a continuous process where rocks are constantly being transformed from one type to another through these processes.