Aurora is a luminous glow of the upper atmosphere caused by energetic particles entering the atmosphere from above.
This definition differentiates aurora from other forms of airglow, and from sky brightness that is due to reflected or scattered sunlight. Airglow features that have "internal" energy sources are more common than aurora. For example, lightening and all associated optical emissions like sprites should not be considered aurora.
On Earth, the energetic particles that make aurora come from the geospace environment, the magnetosphere. These energetic particles are mostly electrons, but protons also make aurora. The electrons travel along magnetic field lines. The Earth's magnetic field looks like that of a dipole magnet where the field lines are coming out and going into the Earth near the poles. The auroral electrons are thus guided to the high latitude atmosphere near each pole. As the electrons penetrate into the upper atmosphere, the chance of colliding with an atom or molecule increases the deeper they go. Once a collision takes place, the atom or molecule takes some of the energy of the energetic particle and stores it as internal energy while the electron goes on at a reduced speed. The process of storing energy in a molecule or atom is called "exciting" the atom. An excited atom or molecule can return to the non-excited state (ground state) by sending off or emitting a photon, i.e. by making light.