The rock cycle is the process of converting rock between igneous, sedimentary, and metamorphic forms. ... Molten rock inside the Earth undergoes a phase change as it cools to produce solid igneous rock. The chemical changes which form the rock depend on the type of minerals present and how fast the rock cools.