Pumice

Pumice /ˈpʌmɨs/ is a volcanic rock that consists of highly vesicular volcanic glass, which may or may not contain crystals. It is typically light colored. Scoria is another vesicular volcanic rock that differs from pumice in having larger vesicles and thicker vesicle walls and being dark colored and denser.

Pumice is created when super-heated, highly pressurized rock is violently ejected from a volcano. The unusual foamy configuration of pumice happens because of simultaneous rapid cooling and rapid depressurization. The depressurization creates bubbles by lowering the solubility of gases (including water and CO2) that are dissolved in the lava, causing the gases to rapidly exsolve (like the bubbles of CO2 that appear when a carbonated drink is opened). The simultaneous cooling and depressurization freezes the bubbles in the matrix.

Read more about Pumice:  Properties, Uses