What type of motion is associated with the molecules of a gas?

Brownian motion. In this motion any particular molecule will follow a zig-zag path due to the collisions with the other molecules or with the walls of the container.