ESRD, or kidney failure, is the final stage of chronic kidney disease. It is defined as the condition in which your kidneys lose 90% or more of their total function. Your kidneys play an extremely important role in filtering your blood. When they fail, you are at much higher risk for a heart attack or stroke. (1)