Volcanic rock
Overview
 
Volcanic rock is a rock formed from magma
Magma
Magma is a mixture of molten rock, volatiles and solids that is found beneath the surface of the Earth, and is expected to exist on other terrestrial planets. Besides molten rock, magma may also contain suspended crystals and dissolved gas and sometimes also gas bubbles. Magma often collects in...

 erupted from a volcano
Volcano
2. Bedrock3. Conduit 4. Base5. Sill6. Dike7. Layers of ash emitted by the volcano8. Flank| 9. Layers of lava emitted by the volcano10. Throat11. Parasitic cone12. Lava flow13. Vent14. Crater15...

. In other words, it is an igneous rock
Igneous rock
Igneous rock is one of the three main rock types, the others being sedimentary and metamorphic rock. Igneous rock is formed through the cooling and solidification of magma or lava...

 of volcanic
Volcano
2. Bedrock3. Conduit 4. Base5. Sill6. Dike7. Layers of ash emitted by the volcano8. Flank| 9. Layers of lava emitted by the volcano10. Throat11. Parasitic cone12. Lava flow13. Vent14. Crater15...

 origin. Like all rock types, the concept of volcanic rock is artificial, and in nature volcanic rocks grade into hypabyssal
Subvolcanic rock
A subvolcanic rock, also known as a hypabyssal rock, is an igneous rock that originates at medium to shallow depths within the crust and contain intermediate grain size and often porphyritic texture. They have textures between volcanic and plutonic rocks. Subvolcanic rocks include diabase and...

 and metamorphic rock
Metamorphic rock
Metamorphic rock is the transformation of an existing rock type, the protolith, in a process called metamorphism, which means "change in form". The protolith is subjected to heat and pressure causing profound physical and/or chemical change...

s and constitute an important element of some sediment
Sediment
Sediment is naturally occurring material that is broken down by processes of weathering and erosion, and is subsequently transported by the action of fluids such as wind, water, or ice, and/or by the force of gravity acting on the particle itself....

s and sedimentary rock
Sedimentary rock
Sedimentary rock are types of rock that are formed by the deposition of material at the Earth's surface and within bodies of water. Sedimentation is the collective name for processes that cause mineral and/or organic particles to settle and accumulate or minerals to precipitate from a solution....

s. For these reasons, in geology, volcanics and shallow hypabyssal rock
Subvolcanic rock
A subvolcanic rock, also known as a hypabyssal rock, is an igneous rock that originates at medium to shallow depths within the crust and contain intermediate grain size and often porphyritic texture. They have textures between volcanic and plutonic rocks. Subvolcanic rocks include diabase and...

s are not always treated as distinct. In the context of Precambrian
Precambrian
The Precambrian is the name which describes the large span of time in Earth's history before the current Phanerozoic Eon, and is a Supereon divided into several eons of the geologic time scale...

 shield
Shield (geology)
A shield is generally a large area of exposed Precambrian crystalline igneous and high-grade metamorphic rocks that form tectonically stable areas. In all cases, the age of these rocks is greater than 570 million years and sometimes dates back 2 to 3.5 billion years...

 geology, the term volcanic rock is applied to what are strictly metavolcanic rocks
Metamorphic rock
Metamorphic rock is the transformation of an existing rock type, the protolith, in a process called metamorphism, which means "change in form". The protolith is subjected to heat and pressure causing profound physical and/or chemical change...

.

Volcanic rocks are among the most common rock types on Earth's surface, particularly in the oceans.
 
x
OK