A magnetosphere is the region of space surrounding an astronomical object in which charged particles are controlled by that object's magnetic field. Near the surface of many astronomical objects, the magnetic field resembles that of a dipole. Farther away from the surface, the field lines can be significantly distorted by the flow of electrically conducting plasma emitted from a nearby star (e.g. the solar wind from the Sun).