Pulmonary edema arises from the accumulation of fluid in the pulmonary interstitial alveolar spaces and the airways.