Yes, Carbon dioxide is a pure substance, provided there is nothing else in it. as soon as you add some oxygen (O2) or methane (CH4) etc it is not pure. the actual molecule is CO2, one carbon and 2 oxygen atoms everytime which makes it pure. it is the same as saying pure salt. salt has sodium and chlorine in it but is still a pure substance provided nothing else is in it.