Dialysis is a treatment that filters your blood, taking over the function of the kidneys. Kidneys filter waste from the body and maintain levels of chemicals like sodium and potassium. Dialysis is recommended for patients with chronic kidney disease or in end stage kidney failure. Dialysis can be occur at home, in an outpatient facility or at the hospital.