I'd say pumice is the closest to your description.
Pumice has a lower density than other igneous rocks because it contains abundant air-filled cavities that make it porous and lightweight. These cavities are formed during the rapid cooling of volcanic magma, trapping air bubbles inside the rock. This porous structure gives pumice its low density compared to other igneous rocks that are more solid and dense.
Pumice is a type of igneous rock formed from volcanic eruptions. It is characterized by its porous and lightweight nature, caused by the rapid cooling of lava during volcanic explosions, which traps gas bubbles in the rock.
pumice
When it has holes and small rocks inside the rock
An igneous rock can contain small holes called vesicles, which are formed by gas bubbles trapped in the rock during its cooling process. These vesicles can vary in size and density depending on the type of igneous rock and the amount of gas released during solidification.
The holes represent the bubbles of trapped and expanding gas that was present in the solidifying lava. They were essentially frozen in place.
Pumice is an igneous rock. Pumice is formed by hot lava filled with gas cools quickly and forms.
Gas bubbles get trapped in the magma or lava as it cools, forming holes in the igneous rock. These holes are often filled with minerals, such as quartz or calcite, creating geodes or nodules.
Pumice is such a rock.
The volcanic rock can be classified as basalt. Basalt is a fine-grained igneous rock that forms from the solidification of lava flows. The smooth texture and small holes, known as vesicles, are characteristic features of basalt.
Holes in igneous rocks are typically formed by gas bubbles getting trapped in the molten rock as it cools and solidifies. These trapped gas bubbles then escape as the rock solidifies, leaving behind cavities or holes.
That is a type of rock called pumice.