Yes the Earths magnetic field protects us from the Suns particles. An aurora is a colorful light show in the sky caused by the Sun. Auroras happen when particles from the Sun interact with gases in our atmosphere, causing beautiful displays of light in the sky. Auroras are often seen in areas near the North Pole or South Pole
The magnetic field of the Earth plays a very important role in our lives, it protects us from the solar winds. These are currents of particles charged of energy emanated from the sun which emit radiation.
The magnetic fields of Earth extend from the core to the surface of the planet, an area known as the magnetosphere. This “sphere” around us is composed of invisible lines originated at the two poles (as if it were a magnet). The magnetosphere deflects the dangerous ultraviolet rays of the sun, keeping us safe from any risk.