Carbon dioxide is a molecule with the molecular formula CO 2. The linear molecule consists of a carbon atom that is doubly bonded to two oxygen atoms, O=C=O. Although carbon dioxide mainly consists in the gaseous form, it also has a solid and a liquid form.