In Photosynthesis Water Acts As