The Anatomy of Solar Flares and Solar Storms