Answer:
The signal from the deceleration sensor ignites the gas-generator mixture by an electrical impulse, creating the high-temperature condition necessary for NaN3 to decompose. The nitrogen gas that is generated then fills the airbag.
basically, the nitrogen fills the bag