What kind of waves are present during an earthquake?

a. Transverse
b. Longitudinal
c. Both transverse and longitudinal