Question: how many moles of carbon dioxide are in the sample?
Answer: A dozen CO2 molecules have one dozen carbon atoms and two dozen oxygen atoms. A million CO2 molecules have one million carbon atoms and two million oxygen atoms. A mole of CO2 molecules (we usually just say “a mole of CO2”) has one mole of carbon atoms and two moles of oxygen atoms.