The correct option is C Both A and B
Sound travels through compressions and expansions of air. The wave travels parallel to the direction of motion of the wave. Hence it is a longitudinal wave.
Sound requires a medium to propagate. Hence it is a mechanical wave.