A pulmonary embolism happens when a thrombus stops blood flow to the lungs. This may lead to shortness of breath or death.