Does the electrolysis of water produce chlorine gas?
It's the tablespoon of salt he added, giving the chlorine when electrolysis is done. I have done electrolysis with salt-free water (though a bit acidic to get the water to electrolyze faster) and chlorine was nowhere to be found.

Electrolysis of saltwater produces hydrogen and chlorine; and leaves sodium hydroxide behind.