b. A gas exerts pressure on the walls of the container because the particles of gas move randomly in all directions at high speed. As a result, the particles hit each other and also hit the walls of the container with force. These collisions of the gas particles with the walls of the container exert pressure on the walls of the container.