Rock cycle are forced to change as they encounter new environments. The rock cycle is an illustration that explains how the three rock types are related to each other, and how processes change from one type to another over time. This cyclical aspect makes rock change a geologic cycle and, on planets containing life, a biogeochemical cycle. When rocks are pushed deep under the Earth's surface, they may melt into magma. If the conditions no longer exist for the magma to stay in its liquid state, it cools and solidifies into an igneous rock. A rock that cools within the Earth is
Magma (the extrusive equivalents of gabbro, diorite and granite, respectively). During a volcanic eruption the magma that leaves the underground is called lava. Lava cools and solidifies relatively quickly compared to underground bodies of magma. This fast cooling does not allow crystals to grow large, and a part of the melt does not crystallize at all, becoming glass. Rocks largely composed of volcanic glass include obsidian, scoria and pumice. Before and during volcanic eruptions, volatiles such as CO and HO partially leave the melt through a process known as exsolution. Magma with low water content becomes increasingly viscous. If massive exsolution