Electrochemistry is the area of chemistry dealing with the interconversion of electrical energy and chemical energy. One example is a battery. Another example is when passing nervous signals in the body.
Electrolysis is chemical. Decomposition produced by passing an electric current through liquid or solution containing ions. Examples: it's used in hair removal and to make metals .