It is a process that leads to chemical change when an electric current is passed through an electrolyte.
During the electrolysis process, the negatively charged ions lose the electrons and undergo oxidation while the positively charged ions gain the electrons and undergo the reduction process.