A generally finely crystalline or glassy igneous rock resulting from volcanic action at or near the Earth´s surface, either ejected explosively or extruded as lava. The term includes near-surface intrusions that form a part of the volcanic structure.