Why does a gas exert pressure?

why does a gas exert pressure?

The pressure exerted by a gas uniformly across the surface of a container can be described by simple kinetic theory.The particles of a gas are constantly moving in random directions and frequently collide with the walls of the container and/or each other. The sum of all the normal components of force exerted by the particles impacting the walls of the container divided by the area of the wall is defined to be the pressure.