This document outlines the rock cycle by describing how igneous rocks form from magma that cools and crystallizes within the Earth, how these rocks can be weathered, eroded, and compacted over time to form sedimentary rocks, and how increased heat and pressure can transform sedimentary rocks into metamorphic rocks, completing the cycle.