A fire cannot burn without oxygen. You can show this for yourself, in fact: if you light a small candle and then put a clear glass upside-down over that candle (without touching the flame), you can watch the flame slowly extinguish as it uses up all of the oxygen that you have trapped around it with the glass.