What is the substance made up of molten rock, gases, and minerals that reaches the earth’s surface called?

A.
rhyolite

B.
magma

C.
gabbro

D.
lava