A gas exerts pressure on the walls of the container.
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 a force. Therefore, gas exerts pressure on the walls of the container.