The product formed at the the cathode during the electrolysis of sodium chloride solution with…