Heart failure
Someone with heart failure can have shortness of breath (which may be worse when they lie flat), waking up breathless at night, swelling of the legs, and needing to urinate often during the night. There are many reasons why someone can get heart failure. Most often, heart failure is caused by heart attacks, high blood pressure, or problems with the heart valves.