Both mechanical and electromagnetic waves _____.

A. have compressions and rarefactions
B. oscillate in the same direction as the wave motion
C. transmit energy
D. require a medium for transfer