Pulmonary edema is a condition caused by excessive fluid in the lungs, making it difficult to breathe. There are two main types: cardiogenic, caused by issues with the heart like weakened pumping from heart disease or damage, and non-cardiogenic, caused by things like drug use, smoke inhalation, or viral infections which damage the lungs. Complications can include swelling in the legs and abdomen. Treatment focuses on removing excess fluid with diuretics, relieving symptoms, and addressing the underlying cause.