How did scientists determine Earth has layers?
through the use of earthquake waves
through deep core drilling
through x-ray analysis
through the use of magnetometers
the first options should be your answer because scientists use seismic waves (created by earthquakes) that shows clear evidence for several layers in the earth.