B. Gas particles travel in a random pattern until they hit a container wall or another gas particle.
Explanation:
The kinetic-molecular theory has several postulates;
The space occupied by the individuals gas molecules is negligible compared to the total volume of the gas
The molecules move randomly and their directions only changed after collision with other gas molecules of the walls of the container
There is no other influence between the gas molecules other than the collisions.
All the collisions of the gas molecules are elastic