The name given to molten rocks thrown out by a volcano is "lava." Lava is molten rock that erupts from a volcano onto the Earth's surface. It is typically hot and fluid, consisting of melted rock material, gases, and sometimes solid fragments.
When a volcano erupts, the magma (molten rock beneath the Earth's surface) rises to the surface through volcanic vents or fissures. Once exposed to atmospheric pressure, the magma becomes lava and flows or is ejected from the volcano. The composition and characteristics of lava can vary depending on the type of volcano and the specific properties of the magma.
As lava cools and solidifies, it forms various types of volcanic rock, such as basalt, andesite, or rhyolite, which are classified based on their mineral composition and the rate of cooling. The flow and behavior of lava during volcanic eruptions play a significant role in shaping the volcanic landscape and determining the potential hazards associated with volcanic activity.