Igneous rock that forms beneath Earth's surface is called
formed on the surface of the Earth from lava, which is magma that has emerged from underground. (rocks that form from erupting volcanoes)
Metamorphic rocks form when rocks are subjected to high heat, high pressure, hot mineral-rich fluids or, more commonly, some combination of these factors.
Sedimentary rocks are formed from pre-existing rocks or pieces of once-living organisms. They form from deposits that accumulate on the Earth's surface. Sedimentary rocks often have distinctive layering or bedding.
The rock cycle is a series of processes that create and transform the types of rocks in Earth's crust.
The rock cycle explains how the three rock types are related to each other, and how processes change from one type to another over time.