Carbon dioxide is produced when any form of carbon or almost any carbon compound is burned in an excess of oxygen. Many metal carbonates liberate CO 2 when they are heated. For example, calcium carbonate (CaCO 3) produces carbon dioxide and calcium oxide (CaO). read more