Intermittent eruption of electromagnetic energy from the sun typically associated with coronal mass ejections. The electromagnetic radiation covers all wavelengths from radio waves to gamma rays. Solar flare frequency varies over an 11-year cycle.