What element is used in explosives?

All explosives have nitrogen in them, and the nitrogen will offgas from the product. Bomb detectors work in part by looking for this nitrogen.