How do scientists know that the core is made of iron and nickel?

The core produces a lot of seismic waves.

Scientists have gathered samples of the core.

Pictures of the core have been taken from satellites.

The core is dense and produces a magnetic field.