What type of allergic response is considered life-threatening?

A. Grand mal seizure
B. Anaphylaxis
C. Myocardial infarction
D. Airway obstruction