A pulmonary embolism is a serious and potentially fatal medical emergency that occurs when a blood clot blocks an artery in the lungs.