Dialysis is a method of removing waste and toxins from the blood when the kidneys fail. There are two main types: hemodialysis which uses a machine to filter blood outside the body through a semipermeable membrane, and peritoneal dialysis which uses the peritoneal membrane in the abdomen. Hemodialysis treatments typically last 4 hours and occur 3 times per week to cleanse the blood and maintain electrolyte and fluid balance for patients with kidney failure. Access points for hemodialysis include catheters, arteriovenous shunts, and arteriovenous fistulas or grafts.