Magma is molten rock beneath the surface of the earth