how do airbag works in car?
All over the car, accelerometers detect sudden rates of deceleration which suggest an impact has occurred. These systems are linked to a small explosive device, which ignites to produce a sudden release of nitrogen gas. This gas fills the airbag, rapidly inflating it to cushion the blow for the car's occupants.