The raw materials of photosynthesis, water and carbon dioxide, enter the cells of the leaf. Oxygen, a by-product of photosynthesis, and water vapor exit the leaf.