The foam is a mixture of water and gel solution. It runs through a hose into a jet or cannon that adds air, creating soap-like bubbles.