According to kinetic theory the gas molecules are in a state of constant rapid motion in all possible directions colliding in a random manner with one another and with the walls of the container and between two successive collisions molecules travel in a straight line path but show haphazard motion due to collisions.