Pumice, scoria, and tachylyte are other volcanic glasses formed by rapid cooling. Pumice and scoria differ from obsidian by having abundant vesicles – cavities in the rock produced when gas bubbles were trapped in a solidifying melt. Tachylyte differs in composition – it has a composition similar to basalt and gabbro.