In the gaseous state of matter, the particles have large intermolecular space and possess very high kinetic energy.
As a result, the molecules are allowed to move freely and randomly at high speed.
Due to this movement, the particles collide with each other and with the walls of the container.
This exerts pressure on the walls of the container.
The pressure is measured as the force exerted by the gas molecules per unit area on the walls of the container.
Thus, gas exerts pressure because its particles have high kinetic energy. As a result, gas particles move freely and collide with the walls of the container and exert pressure on the wall.