Sun with solar flares