When a person collides with an inflated air bag, the impact forces the molecules of gas in the bag closer together. The compression of the gas absorbs the energy of the impact.
In terms of the scientific method, the immediate purpose of doing an experiment is gathering data. You cannot draw conclusions or form a proper hypothesis without some sort of basis and data.