Volcanic rocks are rocks formed from lava erupted from a volcano. Like all rock types, the concept of volcanic rock is artificial, and in nature volcanic rocks grade into hypabyssal and metamorphic rocks and constitute an important element of some sediments and sedimentary rocks. For these reasons, in geology, volcanics and shallow hypabyssal rocks are not always treated as distinct. In the context of Precambrian shield geology, the term "volcanic" is often applied to what are strictly metavolcanic rocks. Volcanic rocks and sediment that form from magma erupted into the air are called "pyroclastics," and these are also technically sedimentary rocks.
Ignimbrite, a volcanic rock deposited by pyroclastic flows
Photomicrograph of a volcanic lithic fragment (sand grain); upper picture is plane-polarized light, bottom picture is cross-polarized light, scale box at left-center is 0.25 millimeter.
An aphanitic volcanic sand grain, with fine-grained groundmass, as seen under a petrographic microscope
Vesicular olivine basalt from La Palma (green phenocrysts are olivine).
Lava is molten or partially molten rock (magma) that has been expelled from the interior of a terrestrial planet or a moon onto its surface. Lava may be erupted at a volcano or through a fracture in the crust, on land or underwater, usually at temperatures from 800 to 1,200 °C. The volcanic rock resulting from subsequent cooling is also often called lava.
Fresh lava from Fagradalsfjall volcano eruption in Iceland, 2023
Toes of a pāhoehoe advance across a road in Kalapana on the east rift zone of Kīlauea Volcano in Hawaii, United States
Columnar jointing in Giant's Causeway in Northern Ireland
Lava enters the Pacific at the Big Island of Hawaii.