Imagine a crowd of people al jumping around in a room blindfolded. they will bump into each other and the walls. molecules behave the same way as a result of their temperature. the hotter the temperature, the more jumping and the greater the 'pressure' on the walls.