A DC electrical power source is connected to two electrodes, or two plates (typically made from an inert metal such as platinum or iridium) which are placed in the water
whether we'd use (certain) metals or a specific electrode, we could have, for instance, "turn water into hydrogen or oxygen and leave the not-water as is" reactions using the charged attribute