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
Intrusive rock at shallow depth and are called "subvolcanic" or "hypabyssal". They show structures intermediate between those of extrusive and plutonic rocks. They are very commonly porphyritic, vitreous, and sometimes even vesicular. In fact, many of them are petrologically indistinguishable from lavas of similar composition. Intrusive rock Intrusive rock (also called plutonic rock) is formed when magma crystallizes and solidifies underground to form "intrusions", for example plutons, batholiths, dikes, sills, laccoliths, and volcanic necks. Intrusive rock forms within Earth's crust from the crystallization of magma. Many mountain ranges, such as the Sierra Nevada in California, are formed mostly from large granite (or