The main purpose of dialysis is to help impaired renal function. When your kidneys are damaged, they are no longer able to remove wastes and excess fluid from your bloodstream efficiently.