The magnetosphere shields the surface of the Earth from the charged particles of the solar wind. It is compressed on the day (Sun) side due to the force of the arriving particles, and extended on the night side. (Image not to scale.)
Click this LINK to visit the original image and attribution information. Right click on the image to save the 800px teaching JPEG.