Automobile airbags typically contain sodium azide (NaN₃). In the event of a crash, an impact sensor triggers a chemical reaction. Electrical current ignites a small charge, which decomposes the sodium azide into sodium metal and a large volume of nitrogen gas (2 NaN₃ → 2 Na + 3 N₂). This rapid production of nitrogen gas inflates the airbag very quickly.