Question: what keeps the earth's atmosphere from floating away
Answer: Earth 's magnetic field protects it from solar winds and prevents escape of ions , except near the magnetic poles where charged particles stream towards the earth along magnetic field lines .