 The solar wind exerts a pressure, and if it could reach Earth's atmosphere it would erode it.However, it is kept away by the pressure of the Earth's magnetic field.The magnetopause, the area where the pressures balance, is the boundary of the magnetosphere.