How do scientists study earths layers?

seismograph