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 have an extremely important role in filtering your blood. When they fail, you have a much greater risk of a heart attach or stroke. (1)