Chlorine gas removes hydrogen from water H2O giving out oxygen gas.
From the formula of water H2O, work out the valencies of hydrogen and oxygen.