The pressure of a gas can be influenced by several factors, including temperature, volume, and the number of gas molecules present. According to the kinetic theory of gases, gas molecules are in constant motion, colliding with each other and the walls of their container. These collisions generate a force that exerts pressure on the walls of the container.