Automobiles contain explosive devices called airbags that are required by law for safety. Airbags were invented in the 1950s in Germany and the US and were adopted by the automotive industry in the 1970s. Airbags use a chemical reaction to rapidly inflate when triggered by an impact sensor, helping to reduce injuries compared to seatbelts alone. The chemical reaction works in stages, first using sodium azide to generate nitrogen gas, then using potassium nitrate and sodium to generate more gas and form an alkaline silicate powder.