Which statement accurately describes a P wave?

A. A P wave moves particles up and down or side to side.
B. A P wave can move through solid rock only.
C. A P wave can travel through liquids.
D. A P wave travels more slowly than an S wave.