Carbon dioxide consists of one carbon and two oxygen atoms. It corresponds to the highest oxidation level of carbon. As shown in the structural formula, the molecule is composed in a linear way.