When chlorine water is exposed to sunlight, O2 is liberated. Hence
Hydrogen has little affinity to O2
Hydrogen has more affinity to O2
Hydrogen has more affinity to Cl2
It is a reducing agent
H2O+Cl2Exposed to air→HCl+HClO
HClO→HCl+[O] or 2HClO→2HCl+O2