Respuesta :

oxygen is produced in light reaction by photolysis process (splitting water molecule)
Fyi, O2 is the by-product for the light reaction. the photolysis occur for replacing the electron at P680.