Magma
Magma is melted rock under the ground. It can cool into solid rock, or come out of a volcano as lava.
What magma is
is the melted rock under the ground. The liquid rock may have solid bits mixed in. It may also have volcanic gas.

Types of magma
There are different types of magma. One is called felsic magma. It is thick and has minerals.
Felsic magma mostly makes light-coloured rocks. Another type is mafic magma. It is runny and has less silica. It usually makes dark-coloured rocks.
Some magmas are in between the two types.
Cooling into rock
Magma may cool slowly below the surface. This makes "plutonic" rocks, such as granite.
When magma comes out of the ground in a volcano, it is called lava. cools quickly. It forms other rocks, such as basalt.
Where magma forms and moves
Magma is made when the Earth's or melts. This happens at tectonic settings. Examples include subduction zones, continental rift zones, mid-ocean ridges and hotspots.
Melted material from the mantle and crust moves up. It collects in magma chambers.
Magma that stays underground
When magma comes up through the crust, it may feed a volcano. It can come out as lava.
But magma may also harden underground. This forms an . An intrusion is magma that cools and becomes solid. Intrusions later become igneous dikes or sills.
Studying magma
Most study of magma is done on lava flows.
Magma was found underground three times in geothermal drilling projects. Twice it was found in Iceland. Once it was found in Hawaii.