Seismographs measure and record the ground motions caused by seismic waves, helping to determine the characteristics of an earthquake.