This image shows the spacecraft, Mars Global Surveyor, in orbit around Mars. From the left, indicated by arrows, flows the solar wind. At an angle, white lines indicate a magnetic field throughout the solar system. The magnetic field around Mars interacts with these other forces to create a unique set of conditions close to the planet.
Image from: NASA/JPL