When a lit candle is covered by a glass, it eventually goes out due to lack of oxygen. Fire needs oxygen to burn, and the sealed glass traps a limited supply. As the flame consumes oxygen, carbon dioxide builds up.
Once oxygen is depleted, combustion stops. This simple experiment demonstrates the fire triangle (fuel, heat, oxygen) and helps explain why ventilation is important for sustaining flames or managing indoor air.