The reactants used in photosynthesis are