magma, but when its on the surface lava
The rock that forms on earth's surface is extrusive rock or otherwise known as a metamorphic rock.
Obsidian
a Obsidion rock
Intrusive igneous rock
Igneous rock. Extrusive igneous rock forms at or near the surface, intrusive igneous rock forms below the surface.
Melted rock beneath Earth's surface is known as magma. Magma forms in the Earth's mantle and can rise to the surface, where it is then called lava. Magma can also cool and solidify beneath the surface, forming igneous rocks.
a Obsidion rock
The melted rock that forms a volcano is called magma when it is beneath the Earth's surface. Once it erupts and reaches the surface, it is referred to as lava. As lava cools and solidifies, it can create various volcanic landforms, including mountains and islands.
Intrusive igneous rock
Intrusive igneous rock
When melted granite flows onto the Earth's surface and quickly hardens, it forms an igneous rock known as rhyolite. Rhyolite is fine-grained and often exhibits flow banding due to its rapid cooling process.
A rock that forms from other rocks due to heat and pressure beneath the Earth's surface is called a metamorphic rock. Examples include marble, slate, and gneiss.