A metal carbonate X on reacting with acid gives a gas which when passed through a solution Y gives the carbonate back. On the other hand, a gas G that is obtained at the anode during electrolysis of brine is passed on dry Y, and it gives a compound Z, used for disinfecting drinking water. Identity X, Y, G and Z.