Seismic waves are waves that travel through the Earth due to earthquakes or explosions. There are three main types of seismic waves: P waves, which travel fastest; S waves, which travel slower than P waves; and surface waves, which are the slowest and cause the most damage. Seismographs can detect and measure seismic waves, recording the ground shaking on paper to indicate the strength of the waves.