Combustion & Fire Extinguishing
A flame needs three things at once: a fuel to burn, oxygen from the air, and a temperature above the ignition point. Take away any one and the fire goes out by itself, which is how water or a lid stops it. After burning, carbon dioxide and water are left behind. Here you can toggle each condition and see when the fire lights and dies.