What we are looking at in the simulation is a macroscopic simplification used to teach sound-wave mechanics.

In a real gas, the microscopic situation is much more chaotic. Air molecules are in constant, rapid, random thermal motion, even when no sound is present.

The Reality of Molecular Motion

Therefore, an individual air molecule does not simply move back and forth around one fixed point as shown in the simulation.

Why We Use the Idealized Model

The simulation represents the air as small fluid elements or parcels rather than following individual molecules.

Microscopic Reality vs. Acoustic Model

The simulation therefore does not represent the exact trajectories of individual air molecules.

It represents the macroscopic acoustic motion of the medium: the small, organized displacement of fluid elements superimposed on the much larger random thermal motion of individual molecules.

This illustrates the difference between:

Statistical mechanics — the microscopic, random motion of individual molecules

and

Continuum acoustics / wave mechanics — the organized pressure, density, and particle-displacement variations that constitute a sound wave.