1. A planetary magnetic field is created by metallic material in a planet's core and fluid motion within the core as the planet rapidly rotates. 2. A magnetic field protects a planet from having its atmosphere stripped away by solar winds. 3. Mercury has no atmosphere, a very weak magnetic field, temperatures that vary greatly between day and night, and an elliptical orbit.