Scientists have identified an invisible shield around our planet that protects us from deadly electrons.