Dialysis is the process by which molecules filter out of one solution, by diffusing through a membrane, into a more dilute solution. Outside of haemodialysis, which removes waste from blood, scientists use dialysis to purify drugs, remove residue from chemical solutions, and isolate molecules for medical diagnosis.