Pulmonary edema
The most common cause of pulmonary edema is heart failure on the left side of the heart. The left side of the heart is supposed to pump blood to the entire body. If the left side of the heart is too weak to do this, blood will back up into the lungs.  This is called cardiogenic pulmonary edema.  ("Cardiogenic" means "caused by the heart.")