What is electrolysis?

Don't be shocked, but molten ionic compounds don't just stop at conducting electricity. They use it for chemical reaction!