What gas is produced when flames burn?

3 answers

carbon dioxide
carbon dioxide! <3
H2O is also produced in hydrocarbon-fuel flames. Some CO is produced if the flame is fuel-rich.