The magma (molten rock under the surface) and lava (molten rock on the surface) hardens into igneous rock .
(The magma (molten rock under the surface) and lava; hardens; into igneous rock)
The magma (molten rock under the surface) and lava
hardens
into igneous rock