What is the difference between magma and lava?

Magma is composed of molten rock and is stored in the Earth’s crust. Lava is magma that reaches the surface of our planet through a volcano vent.

Source: EOS/Rachel Siao