The Earth's magnetic field is generated by the circulation of charges in the Earth's molten core. The resulting magnetic dipole field forms a shape with magnetic field lines passing through the Earth's center, reaching the surface near the poles and extending far into space above the equator. Charged particles entering the field will tend to follow the lines of force, moving north or south. As they reach the polar regions, the magnetic lines begin to cluster together, and this increasing field can cause particles below a certain energy threshold to reflect, and begin travelling in the opposite direction. Such particles bounce back and forth between the poles until they collide with other particles. Particles with greater energy continue towards the Earth, impacting the atmosphere and causing the aurora.