Dialysis is a treatment for kidney failure that rids your body of unwanted toxins, waste products and excess fluids by filtering your blood. When kidneys fail, your body may have difficulty cleaning your blood and keeping your system chemically balanced.