or taking away the oxygen element of the fire triangle. The carbon dioxide is also very cold as it comes out of the extinguisher, so it cools the fuel as well. CO2s may be ineffective at extinguishing ...
It shouldn't harm your experiment. You now have a CO2 fire extinguisher! Return to your candles (you might need to drying off first), fire extinguisher in hand, and now you can light your candles.