how do solar flares form?
 There are generally associated with regions of strong magnetic fields and occur predominantly near sunspots in active regions. During a solar flare the corona can increase in temperature from a few million. 