I am doing my study guide for chem test - I cant find a good understadable answer for these 3

1. What is your definition of electrolysis?

2. How do you separate pure substances?

3. My book says mayonnaise is homogenous; teacher told the class it was heterogenous??? HELP