What is water's role in the light reaction of photosynthesis?

What is water’s role in the light reaction of photosynthesis?