Electrolysis is the process of using direct current to separate elements or to bond elements. It is accomplished by sending an electrical current, usually through water that contains a suspension of material, from one electrode to another electrode which causes the material that is suspended in the solution to bond to an object.