Kidneys fail bc of untreated diabetes and/or hypertension. Dialysis filters your blood via osmosis through a semi-permeable membrane, in order to bring the concentrations of electrolytes to approximately the same as your blood. Also, takes off liquid- very important, as the kidneys excrete excess liquid as urine .. Failing kidneys cannot produce urine and so any excess fluids will simply build up