Pulmonary embolism occurs when a blood clot breaks loose and travels to the lungs obstructing a pulmonary artery.