Heart failure occurs when the heart is no longer able to meet the oxygen demands of the body. This can result from a loss of functional heart tissue, infection, heart valve abnormalities, or hypertension.