This type of dialysis works by placing a solution in the peritoneal cavity. This cavity is lined with a membrane called the peritoneum. Tiny blood vessels in the peritoneum cleanse the blood with the help of the dialysis solution.