High altitude pulmonary edema (HAPE) is a life-threatening condition that occurs when fluid accumulates in the lungs due to exposure to high altitudes, typically above 2,500 meters (8,200 feet). This condition is characterized by symptoms such as shortness of breath, cough, and fatigue, and is closely related to modifications in respiratory functions as the body struggles to adapt to reduced oxygen levels in high-altitude environments.