The carbon dioxide molecules are used as the carbon source in photosynthesis.