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
Igneous rock or without suspended crystals and gas bubbles, is called magma. It rises because it is less dense than the rock from which it was created. When magma reaches the surface from beneath water or air, it is called lava. Eruptions of volcanoes into air are termed "subaerial", whereas those occurring underneath the ocean are termed "submarine". Black smokers and mid-ocean ridge basalt are examples of submarine volcanic activity. The volume of extrusive rock erupted annually by volcanoes varies with plate tectonic setting. Extrusive rock is produced in the following proportions: Magma that erupts from a volcano behaves according to its