How many oxygen atoms are there in one mole of carbon dioxide?

I know that there are 6.02 x 10^23 atoms in one mole of carbon dioxide, but I don't know. I'm just really confused right now. I've been working on my chemistry summer packet all day...
3 answers