The three types of magma are basaltic, andesitic, and rhyolitic.
Basaltic magma is the most common type of magma and is usually found in oceanic crust. It is composed of low-silica content and is relatively low in viscosity.
Andesitic magma is intermediate in composition between basaltic and rhyolitic magma and is usually found in continental crust. It is composed of higher silica content and is more viscous than basaltic magma.
Rhyolitic magma is the least common type of magma and is usually found in continental crust. It is composed of high-silica content and is the most viscous of the three types of magma.