Electrolysis refers to the decomposition of a substance by an electric current. The electrolysis of sodium and potassium hydroxides, first carried out in 1808 by Sir Humphrey Davey, led to the discove...Electrolysis refers to the decomposition of a substance by an electric current. The electrolysis of sodium and potassium hydroxides, first carried out in 1808 by Sir Humphrey Davey, led to the discovery of these two metallic elements and showed that these two hydroxides which had previously been considered un-decomposable and thus elements, were in fact compounds.