Sodium bicarbonate, NaHCO₃, is used in the traditional soda-acid fire extinguisher. When it reacts with an acid, carbon dioxide gas is produced. The CO₂ forms a blanket over the burning material and reduces its contact with atmospheric oxygen, thereby helping extinguish the fire.