An illustration of material being ejected from the Sun (left) interacting with the magnetosphere of the Earth (right). When the Sun evolves to become a red giant star, the Earth may be swallowed by our star's atmosphere, and with a much more unstable solar wind, even the resilient and protective magnetospheres of the giant outer planets may be stripped away.
MSFC / NASA