How do airbags actually work?
By inflating and deflating within a fraction of a second, so the occupant decelerates against something soft over a longer distance. The deflation is as important as the inflation, and the timing is the whole engineering problem.
The sequence, in milliseconds. Accelerometers detect a deceleration profile consistent with a crash rather than a pothole or hard braking. The control unit decides within roughly 15–20 milliseconds whether to deploy. An igniter triggers a chemical propellant that produces a large volume of gas almost instantly — historically sodium azide, now generally safer alternatives — inflating the bag in around 30 milliseconds. The occupant, still moving forward, meets the bag, which then vents gas through fabric or vents in the back and collapses as they press into it.
Why deflation matters. A fully inflated bag that stayed inflated would be like hitting a ball. The bag must be emptying as you arrive, which is what spreads the deceleration over time and distance. This is also why airbags are deflated by the time you notice anything happened.
Why they are dangerous at close range. The bag deploys faster than the eye can follow, and the inflation stage carries real force. This is the reason for keeping distance from the wheel, the reason a rear-facing child seat must never sit in front of an active airbag, and the reason airbags cause injuries when occupants are out of position.
Why the seatbelt is the primary restraint. Airbags are designed as a supplementary system — the acronym SRS on the cover means exactly that. They assume a belted occupant arriving in a predictable position, and an unbelted occupant can be badly injured by the bag itself.
Modern refinements: dual-stage inflation matched to crash severity; sensors for occupant weight, position and belt use; side, curtain, knee and centre airbags; and pyrotechnic belt pretensioners firing first to remove slack.
Practical points: the warning light means the system may not deploy and should be diagnosed; deployed airbags are a costly repair and frequently make a car uneconomic; and airbags do not deploy in every accident, which is by design.