The sodium azide decomposes as:
2NaN3 --> 2Na + 3N2
What are the products of heating sodium azide in the air?