Answer:
Scientists don't think the Earth's core contains iron, they know it is mostly made of iron.
Step-by-step explanation:
Geologists study internal rumbles caused by earthquakes which send rippling seismic waves through the whole Earth. Seismic waves bent as they pass through different layers because their density varies, since they are made of different materials. Geologists have calculated the density of iron and they can infer that the inner and outer core as almost entirely made of iron. What they do not agree upon 100% is about the outer core being melted iron or solid iron.