What type of rock is obsidian?

Flexi Says:
Obsidian (also called volcanic glass) is a type of igneous rock that forms when lava is shot out of a volcano and cools almost instantly.
Obsidian (also called volcanic glass) is a type of igneous rock that forms when lava is shot out of a volcano and cools almost instantly.