Both A and B are correct.Sound is a longitudinal wave produced by the oscillation of pressure at a point, thus, forming compressions and rarefactions. That portion of gas itself does not move but the pressure variation causes a disturbance.