Solid foams can be closed-cell or open-cell. In closed-cell foam, the gas forms discrete pockets, each completely surrounded by the solid material. In open-cell foam, gas pockets connect to each other. A bath sponge is an example of an open-cell foam: water easily flows through the entire structure, displacing the air. A camping mat is an example of a closed-cell foam: gas pockets are sealed from each other so the mat cannot soak up water.
Foams are examples of dispersed media. In general, gas is present, so it divides into gas bubbles of different sizes (i.e., the material is polydisperse)—separated by liquid regions that may form films, thinner and thinner when the liquid phase drains out of the system films. When the principal scale is small, i.e., for a very fine foam, this dispersed medium can be considered a type of colloid.