Igneous rocks — those which originate from magma — fall into two categories: extrusive and intrusive. Extrusive rocks erupt from volcanoes or seafloor fissures, or they freeze at shallow depths. This means that they cool relatively quickly and under low pressures. Therefore, they are typically fine-grained and gassy. The other category is intrusive rocks, which solidify slowly at depth and do not release gases.
Some of these rocks are clastic, meaning they are composed of rock and mineral fragments rather than solidified melt. Technically, that makes them sedimentary rocks. However, these volcaniclastic rocks have many differences from other sedimentary rocks — in their chemistry and the role of heat, especially. Geologists tend to lump them with the igneous rocks.
Massive Basalt
:max_bytes(150000):strip_icc():format(webp)/16540710327_7edde05da1_o-5c7f20f646e0fb0001d83e15.jpg)
James St. John/Flickr/CC BY 2.0
This basalt from a former lava flow is fine-grained (aphanitic) and massive (without layers or structure).
Vesiculated Basalt
Jstuby at en.wikipedia/Wikimedia Commons/Public Domain
This basalt cobble has gas bubbles (vesicles) and large grains (phenocrysts) of olivine that formed early in the lava's history.
Pahoehoe Lava
:max_bytes(150000):strip_icc():format(webp)/PahoehoeLava-5c7f251a46e0fb0001edc93f.jpg)
J.D. Griggs/Wikimedia Commons/Public Domain
Pahoehoe is a texture found in highly fluid, gas-charged lava due to the deformation of flow. Pahoehoe is typical in basaltic lava, low in silica.
Andesite
:max_bytes(150000):strip_icc():format(webp)/16552085407_169f09a8d3_o1-5c7f3f41c9e77c00012f82f8.jpg)
James St. John/Flickr/CC BY 2.0
Andesite is more siliceous and less fluid than basalt. The large, light phenocrysts are potassium feldspar. Andesite can also be red.
Andesite from La Soufrière
:max_bytes(150000):strip_icc():format(webp)/14839780968_e8b24bf509_o-5c7f3ff2c9e77c0001e98f53.jpg)
James St. John/Flickr/CC BY 2.0
La Soufrière volcano, on St. Vincent island in the Caribbean, erupts porphyritic andesite lava with phenocrysts largely of plagioclase feldspar.
Rhyolite
:max_bytes(150000):strip_icc():format(webp)/8456702110_d0d0f3cef3_o1-5c7f292a46e0fb00019b8ea6.jpg)
James St. John/Flickr/CC BY 2.0
Rhyolite is a high-silica rock, the extrusive counterpart of granite. It is typically banded and, unlike this specimen, full of large crystals (phenocrysts). Red volcanic rocks are usually altered from their original black by superheated steam.
Rhyolite with Quartz Phenocrysts
:max_bytes(150000):strip_icc():format(webp)/sutbutrhyodetail-56a366875f9b58b7d0d1bef4-5c7f29d1c9e77c0001fd5ae6.jpg)
Andrew Alden
Rhyolite displays flow banding and large grains of quartz in the almost-glassy groundmass. Rhyolite can also be black, gray, or red.
Obsidian
:max_bytes(150000):strip_icc():format(webp)/Obsidian_Utah-5c7f41c046e0fb0001a5f121.jpg)
Amcyrus2012/Wikimedia Commons/CC BY 4.0
Obsidian is a volcanic glass, high in silica and so viscous that crystals do not form as it cools.
Perlite
:max_bytes(150000):strip_icc():format(webp)/GettyImages-968381110-5c7f2d61c9e77c0001d19e11.jpg)
jxfzsy/Getty Images
Obsidian or rhyolite flows that are rich in water often produce perlite, a lightweight, hydrated lava glass.
Peperite
:max_bytes(150000):strip_icc():format(webp)/Andesitic_Peperite_from_Cumbria_in_England_-_Geograph_3470821-5c7f301446e0fb0001d83e18.jpg)
Ashley Dace/Wikimedia Commons/CC BY 2.0
Peperite is a rock formed where magma meets water-saturated sediments at relatively shallow depths, such as in a maar (a broad, shallow volcanic crater). The lava tends to shatter, producing a breccia, and the sediment is vigorously disrupted.
Scoria
:max_bytes(150000):strip_icc():format(webp)/Scoria_Macro_Digon3-5c7f4ba8c9e77c0001fd5aed.jpg)
“Jonathan Zander (Digon3)"/Wikimedia Commons/CC BY 3.0
This bit of basaltic lava was puffed up by escaping gases to create scoria.
Reticulite
:max_bytes(150000):strip_icc():format(webp)/Reticulite-5c7f37e846e0fb0001edc942.jpg)
J.D. Griggs, USGS/Wikimedia Commons/Public Domain
The ultimate form of scoria, in which all the gas bubbles have burst and only a fine mesh of lava threads remains, is called reticulite (or thread-lace scoria).
Pumice
:max_bytes(150000):strip_icc():format(webp)/Lanzarote_-_stones_of_a_wall_-_pumice_stone-5c81aab146e0fb0001cbf48c.jpg)
Norbert Nagel, Mörfelden-Walldorf, Germany/Wikimedia Commons/CC BY 3.0
Pumice is also a gas-charged, lightweight volcanic rock like scoria, but it is lighter in color and higher in silica. Pumice comes from continental volcanic centers. Crushing this feather-light rock releases a sulfuric smell.
Ashfall Tuff
:max_bytes(150000):strip_icc():format(webp)/14968718273_87c759165d_o-5c805f9b46e0fb00019b8ee4.jpg)
James St. John/Flickr/CC BY 2.0
Fine-grained volcanic ash fell upon the Napa Valley several million years ago, later hardening into this lightweight rock. Such ash is usually high in silica. Tuff forms from erupted ash. Tuff often has chunks of older rock, as well as freshly-erupted material.
Tuff Detail
:max_bytes(150000):strip_icc():format(webp)/Ettringer_Tuff-5c806055c9e77c00012f832d.jpg)
Roll-Stone/Wikimedia/Public Domain
This lapilli tuff includes reddish grains of old scoria, fragments of country rock, stretched grains of fresh gassy lava, and fine ash.
Tuff in Outcrop
:max_bytes(150000):strip_icc():format(webp)/Bishop_tuff1-5c80614f46e0fb00011bf431.jpg)
Roy A. Bailey/Wikimedia Commons/Public Domain
Tierra blanca tuff underlies the metropolitan region of El Salvador's capital, San Salvador. Tuff is formed by the accumulation of volcanic ash.
Tuff is a sedimentary rock formed by volcanic activity. It tends to form when erupting lavas are stiff and high in silica, which holds the volcanic gases in bubbles rather than letting them escape. The lava tends to fragment and explode into tiny pieces. After the ash falls, it may be reworked by rainfall and streams. That accounts for the crossbedding near the top of the lower part of the roadcut.
If tuff beds are thick enough, they can consolidate into a fairly strong, lightweight rock. In parts of San Salvador, the tierra blanca is thicker than 50 meters. A lot of old Italian stonework is made of tuff. In other places, the tuff must be carefully compacted before buildings can be constructed on it. Salvadoreans have learned this through centuries of rueful experience with major earthquakes. Residential and suburban buildings that short-change this step remain prone to landslides and washouts, whether from heavy rainfall or from earthquakes, like that which struck the area in 2001.
Lapillistone
:max_bytes(150000):strip_icc():format(webp)/30869915034_3b28679416_o-5c80625846e0fb00018bd916.jpg)
James St. John/Flickr/CC BY 2.0
Lapilli are volcanic pebbles (2 to 64 mm in size) or "ash hailstones" formed in the air. Sometimes, they accumulate and became lapillistone.
Bomb
:max_bytes(150000):strip_icc():format(webp)/Crmo_volcanic_bomb_20070516123632-5c80640cc9e77c0001e98f91.jpg)
National Park Service photo/Wikimedia Commons/Public Domain
A bomb is an erupted particle of lava (a pyroclast) that is larger than lapilli (greater than 64 mm) and was not solid when it erupted.
Pillow Lava
:max_bytes(150000):strip_icc():format(webp)/Nur05018-Pillow_lavas_off_Hawaii-5c8063dbc9e77c000136a86e.jpg)
OAR/National Undersea Research Program (NURP)/Wikimedia Commons/Public Domain
Pillow lavas may be the world's most common extrusive igneous formation, but they only form on the deep sea floor.
Volcanic Breccia
:max_bytes(150000):strip_icc():format(webp)/Volcanic_breccia_in_Jackson_Hole-5c8064ac46e0fb0001edc978.jpg)
Daniel Mayer/Wikimedia Commons/CC BY 3.0
Breccia, like conglomerate, consists of pieces of mixed size, but the large pieces are broken.