A viral image showing a crown of multicolored lights encircling the planet is often shared on social media as if it was a genuine photograph of the aurora borealis phenomenon as seen from space:
This image did originate with NASA, as is claimed in the caption for this image — but this is not a genuine photograph taken from a spacecraft orbiting Earth, but a screenshot from an animation about how the earth's magnetic field causes auroras to form. It was created in 2005 by lead animator Walt Feimer and the NASA/Goddard Space Flight Center Conceptual Image Lab as part of the "Live from the Aurora" series of conceptual animations.
The official NASA video can be viewed here. A copy from YouTube is embedded below:
Join a ride with electrons along the Earth's magnetic field line to the formation site of the aurora.
Fortunately, we don't have to rely solely on a conceptual work to imagine the aurora borealis (or aurora australis) from space, as NASA has captured several videos of the phenomenon:
Harmonic produced this show exclusively for NASA TV UHD, using time-lapses shot from the International Space Station, showing both the Aurora Borealis and Aurora Australis phenomena that occur when electrically charged electrons and protons in the Earth's magnetic field collide with neutral atoms in the upper atmosphere.
Another NASA video provides additional information: