Dialysis is a process that replaces the function of the kidneys. In some cases, dialysis is temporary and can be stopped as soon as the kidneys are able to function again. But dialysis is usually a lifelong treatment.