An electrolyte is a liquid that conducts electricity. It is an ionic compound and has to be liquid (molten or in a solution) so that its component is connected to two electrolyte. This creates a positive charge at one electrode (the anode) and a negative charge at the other (the cathode). The positive and negative ions in the electrode with the opposite charge, where they receive or donate electrons. This flow of ions carries electricity through the liquid.