Stars are far from calm; they erupt in powerful bursts of energy known as solar flares, sending shockwaves through space.