The Earth’s core is composed of iron and nickel, with
a molten outer core and a solid inner core. The depth of the Moho
discontinuity is as little as five kilometers under oceans and as
much as sixty kilometers under continents. Seismic waves that hit
this discontinuity are slowed, reflected, and refracted by the
change in composition of rock.
See also in The book of science:
Readings on wikipedia: