Car airbags work by using crash sensors to detect a severe impact, which triggers a small explosive charge that rapidly inflates the airbag with gas to cushion and protect the occupant.