From Google:
When lava reaches the surface of the Earth through volcanoes or through great fissures the rocks that are formed from the lava cooling and hardening are called extrusive igneous rocks.
Rocks formed from the cooling lava of volcanic eruptions are
1 answer