Heart failure is a chronic condition where the heart doesn't pump blood as well as…