MECHANISMS UNDERLYING SOLAR FLARES