 People with heart failure may experience problems with cognitive function, including memory and attention. Cardiac rehabilitation, which is an individualized program for heart failure patients that aims to improve their heart health, may also improve cognitive function. This study will examine the relationship between heart failure and cognitive function and how undergoing cardiac rehabilitation affects cognitive function in older adults with heart failure. 