That was helped by the mechanical structure of the glass (known technically as a zeolitic imidazolate framework) having a spongelike atomic arrangement.
So the carbon dioxide comes in through the stomata, makes it's way through gaps in the airy layer of cells (called spongy mesophyll) at the bottom part of the leaf, then heads up to the palisade layer for photosynthesis.
Liquid magma is less dense than solid rock, so it rises to the surface in furious bubbles that accumulate in sponge-like reservoirs right under the crust.
But at least today we learned about the anatomy of the skeletal system, including the flat, short, and irregular bones, and their individual arrangements of compact and spongy bone.