Fuels like coal, petrol, diesel and natural gas are burnt, carbon dioxide gas is released in large volumes. A chemical process in which a substance reacts with oxygen to give off heat is called combustion.
For example, Charcoal burns in air to give carbon dioxide and heat.
C + O2 → CO2 + Heat
The charcoal and coal bums in air producing carbon dioxide, heat and light.