Igneous rock solidified on or near the surface after being ejected explosively or extruded as lava, as contrasted with intrusive rock; characteristically finely crystalline or glassy.