A pulmonary embolism occurs when a blood clot that has developed elsewhere in your body (often in your arm or leg) travels through your bloodstream to your lungs and becomes stuck in a blood vessel.