The kinetic theory of gases describes a gas as a large number of submicroscopic particles, all of which are in constant, rapid, random motion. The randomness arises from the particles' many collisions with each other and with the walls of the container.