Which is a method that scientists use to determine the composition of earths layers?

Shooting seismic waves into the planet