Geology majority of the geologic history of the Earth. There are three major types of rock: igneous, sedimentary, and metamorphic. The rock cycle illustrates the relationships among them (see diagram). When a rock crystallizes from melt (magma or lava), it is an igneous rock. This rock can be weathered and eroded, then redeposited and lithified into a sedimentary rock. It can then be turned into a metamorphic rock by heat and pressure that change its mineral content, resulting in a characteristic fabric. All three types may melt again, and when this happens, new magma is formed, from which an igneous rock
Lava broad, shallow slopes formed from predominantly effusive eruptions of relatively fluid basaltic lava flows, to steeply-sided stratovolcanoes (also known as composite volcanoes) made of alternating layers of ash and more viscous lava flows typical of intermediate and felsic lavas. A caldera, which is a large subsidence crater, can form in a stratovolcano, if the magma chamber is partially or wholly emptied by large explosive eruptions; the summit cone no longer supports itself and thus collapses in on itself afterwards. Such features may include volcanic crater lakes and lava domes after the event. However, calderas can also form by non-explosive means