Volcano magma also consists of oxygen, silicon, aluminium, magnesium, calcium, iron, sodium, potassium and manganese, and many other elements in smaller quantities. This is the reason why magma, on solidification, precipitates crystals of various minerals.