"The corona, the vast gossamer atmosphere of plasma visible from Earth during a total solar eclipse, can notch up temperatures in excess of one million degrees Kelvin (MK). Several rival explanations have jostled to account for why the corona is unexpectedly over 200 times hotter than the visible surface, or photosphere, of the Sun".
It could be the action of spicules to increase the coronal temperature.