Magma of partial melting of the mantle, komatiite and picrite are produced. Magma develops within the mantle or crust where the temperature and pressure conditions favor the molten state. After its formation, magma buoyantly rises toward the Earth's surface. As it migrates through the crust, magma may collect and reside in magma chambers (though recent work suggests that magma may be stored in trans-crustal crystal-rich mush zones rather than dominantly liquid magma chambers ). Magma can remain in a chamber until it cools and crystallizes forming igneous rock, it erupts as a volcano, or moves into another magma chamber.There are two
Volcanism rapidly it cools. Magma that reaches the surface to become lava cools rapidly, resulting in rocks with small crystals such as basalt. Some of this magma may cool extremely rapidly and will form volcanic glass (rocks without crystals) such as obsidian. Magma trapped below ground in thin intrusions cools more slowly than exposed magma and produces rocks with medium-sized crystals. Magma that remains trapped in large quantities below ground cools most slowly resulting in rocks with larger crystals, such as granite and gabbro. Existing rocks that come into contact with magma may be melted and assimilated into the magma. Other