There is hot, melted rock in Earth. It can come out of an opening in a volcano.

lava