How do we know what the Earth is made up of? Has someone dug to the core? No, but we humans have been able to see how earthquake (seismic) waves have been bent and reflected through our planet to get a reasonable idea of what is down there.
10680_Refraction_of_seismic_waves.html
All video content by Khan Academy is under their license: CC by NC SA
Website created using Khan Academy Static Downloader