Consider the following statements about sound passing through a gas.
(A) The pressure of the gas at a point oscillates over time.
(B) The position of a small layer of the gas oscillates over time.
Both A and B are correct.
In air, sound waves are longitudinal. Hence, pressure changes are observed at different positions along the direction of propagation.