A reaction between compounds in the presence of oxygen that results in the production of heat & light in the form of flame is called combustion. Ethane, Wood, and LPG & CNG are common examples.
Carbon dioxide, Water, Heat, and light are all produced during complete combustion.
Water and carbon dioxide are the products when organic molecules burn (as well as heat), for example, wood.
In fact, not even all combustion reactions release carbon dioxide, For example, the burning of Magnesium ribbon does not release Carbon Dioxide and water.