The outer solar atmosphere, the corona,
is structured by strong magnetic fields.
Where these fields are closed, often above
sunspot groups, the confined solar
atmosphere can suddenly and violently release bubbles of gas and magnetic fields called coronal mass ejections. A large CME can contain a billion tons of matter that can be accelerated to several million miles per hour in a spectacular explosion. Solar material streams out through the interplanetary medium, impacting any planet or spacecraft in its path. CMEs are sometimes associated with flares but can occur independently.