The ions present when sodium chloride dissolves in water are: sodium ions, chloride ions, hydrogen ions and hydroxide ions. There are various different ways of carrying out electrolysis.