Earth’s magnetic field, generated by the flow of molten iron in the planet’s inner core, extends out into space and protects us from cosmic radiation emitted by the Sun. It is also, remarkably, used by animals like salmon, sea turtles and migratory bir …