How are charged particles ejected from the sun?
In Solar flares. Solar flares are tremendous explosions on the surface of the Sun. In a matter of just a few minutes they heat material to many millions of degrees and release as much energy as a billion megatons of TNT. They occur near sunspots, usually along the dividing line (neutral line) between areas of oppositely directed magnetic fields. Flares release energy in many forms – electro-magnetic (Gamma rays and X-rays), energetic particles (protons and electrons), and mass flows. Flares are characterized by their brightness in X-rays (X-Ray flux). The biggest flares are X-Class flares. M-Class flares have a tenth the energy and C-Class flares have a tenth of the X-ray flux seen in M-Class flares.