Question: is azide a nucleophile or electrophile?
Answer: The azide anion behaves as a nucleophile; it undergoes nucleophilic substitution for both aliphatic and aromatic systems. It reacts with epoxides, causing a ring-opening; it undergoes Michael-like conjugate addition to 1,4-unsaturated carbonyl compounds.