It then forms intrusions, bodies of rock that have penetrated between older rock formations. In the shallower regions of the Earth's crust, magma rises in the form of diapirs (geological structures that take the form of chimneys, mushrooms, and walls) and pushes into the surrounding rocks.
Diapirs that reach close to the Earth's surface give rise to volcanic phenomena. However, most of these rocks, due to slow cooling, solidify 5 to 30 kilometers below the surface, forming rock bodies called plutons.