Magma

Molten silicate (rock) beneath the surface of a planetary body or moon. When it reaches the surface, magma is called lava.