Stars with flares in space