To release the energy stored in carbon-containing molecules, such as sugars, autotrophs and heterotrophs break these molecules down in a process called cellular respiration. In this process, the carbons of the molecule are released as carbon dioxide.