Volcanic rock (often shortened to volcanics in scientific contexts) is a rock 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. Volcanic rocks are among the most common rock types on Earth's surface, particularly in the oceans. On land, they are very common at plate boundaries and in flood basalt provinces. It has been estimated that volcanic rocks cover about 8% of the Earth's current land surface. Characteristics Setting and size Lava Tephra Volcanic bomb Lapilli Volcanic ash Texture Volcanic rocks are usually fine-grained or aphanitic to glass in texture. They often contain clasts of other rocks and phenocrysts. Phenocrysts are crystals that are larger than the matrix and are identifiable with the unaided eye. Rhomb porphyry is an example with large rhomb shaped phenocrysts embedded in a very fine grained matrix. Volcanic rocks often have a vesicular texture caused by voids left by volatiles trapped in the molten lava. Pumice is a highly vesicular rock produced in explosive volcanic eruptions. Chemistry Most modern petrologists classify igneous rocks, including volcanic rocks, by their chemistry when dealing with their origin. The fact that different mineralogies and textures may be developed from the same initial magmas has led petrologists to rely heavily on chemistry to look at a volcanic rock's origin. The chemical classification of igneous rocks is based first on the total content of silicon and alkali metals (sodium and potassium) expressed as weight fraction of silica and alkali oxides (K2O plus Na2O). These place the rock in one of the fields of the TAS diagram. Ultramafic rock and carbonatites have their own specialized classification, but these rarely occur as volcanic rocks. Some fields of the TAS diagram are further subdivided by the ratio of potassium oxide to sodium oxide. Additional classifications may be made on the basis of other components, such as aluminum or iron content. Volcanic rocks are also broadly divided