As the potential difference is applied between the work piece (anode) and the tool (cathode), the positive ions move towards the tool and negative ions move towards the work piece. Thus the hydrogen ions will take away electrons from the cathode (tool) and from hydrogen gas as: