Pulmonary embolism (PE) is an emergency medical condition that occurs in the lungs as a result of a blockage in a vein. A thrombosis occurs when a blood clot breaks out of a vein (venous thrombus) in another part of the body. Usually in the legs and reaching the lungs, it can be life-threatening and requires urgent treatment.