During an earthquake, P-waves and S-waves are generated in the ground. Which statement about these waves is correct?
- AOnly P-waves are transverse waves.
- BOnly P-waves are longitudinal waves.
- CBoth P-waves and S-waves are longitudinal waves.
- DBoth P-waves and S-waves are transverse waves.