Answer:
Seismographs record seismic waves. They contain a weight and a pen attached to a spring. The seismograph is bolted to the ground so during an earthquake it moves with the ground, whilst the weight and pen remain still. The pen moves across a rotating paper roll recording the seismic waves.
Hope this helped, have a good day