If a strong solar flare hit the Earth, the results could be devastating.