Gas particles have very high kinetic energy. So they will move with high velocity in between the spaces in the container. During the movement they are colliding with other gas particles. So the direction of the movement is changed and the movement becomes random movement.