In peritoneal dialysis, a catheter is inserted into the patient's abdomen, and a special fluid is introduced into the peritoneal cavity. The fluid absorbs waste and excess fluids from the blood as it circulates through the cavity, which is then drained out and replaced with fresh fluid several times a day.