Bowen's Reaction Series describes the temperatures at which different common silicate minerals change from the liquid to solid phase (or from the solid to liquid).
In general terms, the higher temperature minerals have a higher proportion of iron and magnesium, and are therefore considered to be mafic. The lower temperature minerals are related to the opposite end of the compositional spectrum (lower in iron and magnesium, higher in silicon and oxygen), and are considered to be felsic. Some minerals are clearly mafic, some are clearly felsic, and some fall in between these two extremes.
Common mafic minerals include olivine, pyroxene, amphibole, biotite mica, and the plagioclase feldspars. Common felsic minerals include quartz, muscovite mica, and the orthoclase feldspars. Different magma compositions obviously result in different igneous rocks.
Mafic igneous rocks (olivine, pyroxene, and the plagioclase feldspars) include basalt (extrusive) and gabbro (intrusive), while felsic igneous rocks (quartz, amphibole, mica, and the orthoclase feldspars) include granite (intrusive) and rhyolite (extrusive).
Magmas of intermediate composition result in the crystallization of intermediate minerals (actually a mix of the mid-range minerals: amphibole and both types of feldspar), with the common igneous rocks being andesite (extrusive) and diorite (intrusive).
How to Classify Igneous Rocks Into (Ultramafic, Mafic, Intermediate and Felsic)?
How to Use QAPF Diagram to Classify Igneous Rocks?