What are three reactants needed for photosynthesis