Question: what is the chemical composition of lava?
Answer: The liquid "freezes" to form volcanic glass. Chemically lava is made of the elements silicon, oxygen, aluminum, iron, magnesium, calcium, sodium, potassium, phosphorus, and titanium (plus other elements in very small concentrations. Have a look at the background information in Minerals, Magma, and Volcanic Rocks.