Foam fire extinguishers contain aluminium sulphate solution in one chamber and sodium bicarbonate solution in another. When mixed, they react to form aluminium hydroxide foam and carbon dioxide, which smothers the fire by excluding oxygen. Copper, cobalt, and nickel sulphates are not used in foam extinguishers.