What is the role of Earth's magnetic field, generated by the outer core?

Answer

Deflecting the solar wind, which is a stream of charged particles emitted by the Sun

The magnetic field acts as a crucial shield generated by the churning liquid iron outer core; its function is to deflect the solar wind, preventing it from stripping away the atmosphere.

What is the role of Earth's magnetic field, generated by the outer core?
Earthsurvivalplanethabitable zoneGoldilocks