Pulmonary edema is a condition caused by too much fluid in the lungs. This fluid collects in the many air sacs in the lungs, making it difficult to breathe. In most cases, heart problems cause pulmonary edema. But fluid can collect in the lungs for other reasons.