An igneous rock formed from volcanic magma that is extruded at the surface. Rapid cooling results in small mineral grain size. Basalt and rhyolite are extrusive rock types.