Splitting of water is associated with

Light reactions occur inside the thylakoids, especially those of grana region. It involves two types of reactions: photolysis of water and production of assimilatory power. The phenomenon of breaking up of water into hydrogen and oxygen in the illuminated chloroplasts is called photolysis. Water splitting complex is associated with Photosystem II which itself is physically located on the inner surface of thylakoid membrane.

1