[ 0005] In a foam, gas bubbles are separated from each other by thin liquid films.
Surfactants stabilize foams by adsorbing at the interface of the bubbles and the liquid films and providing a barrier to coalescence of the bubbles.