Congestive heart failure occurs when the heart is unable to pump blood efficiently to meet the body's needs. This inadequacy leads to a buildup of fluid in the lungs and other body tissues. CHF is often the result of other conditions such as hypertension, coronary artery disease, or previous heart attacks. It can affect either the left side, right side, or both sides of the heart.