In this process, waste products such as urea and creatinine, as well as excess water, pass from the blood through the peritoneum into the peritoneal dialysis solution, and after a given period of time, or dwell, the used dialysis solution or spent dialysate may be removed from the peritoneal cavity and then either discarded or purified for reuse.