Lava Vesuvius between May 14 and June 4, 1737. Serao described "a flow of fiery lava" as an analogy to the flow of water and mud down the flanks of the volcano following heavy rain. The composition of almost all lava of the Earth's crust is dominated by silicate minerals, mostly feldspars, olivine, pyroxenes, amphiboles, micas and quartz. Igneous rocks, which form lava flows when erupted, can be classified into three chemical types: "felsic", "intermediate", and "mafic" (four if one includes the super-heated "ultramafic"). These classes are primarily chemical, however, the chemistry of lava also tends to correlate with the magma
Magma known processes by which magma changes: by crystallization within the crust or mantle to form a pluton, or by volcanic eruption to become lava or tephra. When magma cools it begins to form solid mineral phases. Some of these settle at the bottom of the magma chamber forming cumulates that might form mafic layered intrusions. Magma that cools slowly within a magma chamber usually ends up forming bodies of plutonic rocks such as gabbro, diorite and granite, depending upon the composition of the magma. Alternatively, if the magma is erupted it forms volcanic rocks such as basalt, andesite and rhyolite