extrusive rock

igneous rock formed when magma emerges above the Earth's surface before cooling