The molar mass of CO2 is 44g/mol (12 for carbon + 2×16 for oxygen). At STP (Standard Temperature and Pressure), one mole of any gas occupies 22.4 liters and contains Avogadro's number of molecules (6.02 × 10^23). Therefore, 44g of CO2 at STP equals exactly one mole, which contains 6.02 × 10^23 molecules.