Dialysis is a medical treatment used for people with complex kidney problems or kidney failure. The kidneys are important organs in the body that filter out waste and excess water, as well as help absorb minerals. If the kidneys are not functioning properly, waste can build up in the body and cause harm. Dialysis is a way to remove excess water and clean the blood when the kidneys are not able to do so.