Solar flares affect all layers of the solar atmosphere such as the photosphere, chromosphere, and corona. Solar flares produce radiation across the electromagnetic spectrum at all wavelengths from radio waves to gamma rays. Most of the energy goes to frequencies outside it's range and because of this most of the flares cannot be seen by the naked eye. Solar flares are observed (looked at) with special instruments. Solar flares occur in active regions around sunspots. Solar flares are powered by the sudden release of magnetic energy that is stored in the corona. The same energy releases may produce coronal mass ejections (CME), although the relation between CMEs and flares is still not known.