noun. A colloidal dispersion of a gas in a liquid or solid medium, such as shaving cream, foam rubber, or a substance used to fight fires. A foam may be produced, especially on the surface of a liquid, by agitation or by a chemical reaction, such as fermentation.Source