Temperature is a measure of the average kinetic energy of particles in a substance. When a body is heated:
Gas pressure is caused by the continuous and random collisions of gas particles with the walls of a container.
Use the following simulation of an ideal gas to observe how a change in temperature affects the frequency of collisions and hence, the pressure of the gas. The particle turns red momentarily when colliding against the wall of the container.