Oxygen supports burning, while carbon dioxide is used to extinguish many fires by reducing access to oxygen. The analogy is based on opposite effects on combustion.