Extrusive rock refers to the mode of igneous volcanic rock formation in which hot magma from inside the Earth flows out (extrudes) onto the surface as lava or explodes violently into the atmosphere to fall back as pyroclastics or tuff. In contrast, intrusive rock refers to rocks formed by magma which cools below the surface.
The main effect of extrusion is that the magma can cool much more quickly in the open air or under seawater, and there is little time for the growth of crystals. Sometimes, a residual portion of the matrix fails to crystallize at all, instead becoming a natural glass like obsidian.