The chemical reaction for photosynthesis is: 6CO2 + 6H2O in sunlight yields C6H12O6 + 6O2. a. What is the function of sunlight in the reaction. b. What is the function of chlorophyll/ chloroplast?