The mystery relating to why sun's atmosphere is hotter than its surface is explained in a recent study.

The new observations of the small-scale extremely hot temperatures are consistent with only one current theory: something called nanoflares - a constant peppering of impulsive bursts of heating, none of which could be individually detected provide the mysterious extra heat.
The sun's visible surface, called the photosphere, was around 6,000 Kelvins, while the corona regularly reaches a temperature was 300 times as hot.
There are a variety of theories for what mechanisms power the impulsive bursts of heat, the nanoflares. Moreover, other explanations have been offered for what could be heating the corona. Scientists would continue to explore these ideas further, gathering additional observations as their tools and instruments improve. However, no other theory predicted material of this temperature in the corona, so this was a strong piece of evidence in favor of the nanoflare theory.
The study is published in the Astrophysical Journal.
Source-ANI