When given a treatment with relativity in mind, depending on the frame of reference, electromagnetic forces acting on an object partition differently into magnetic and electric fields. In fact, for this reason, magnetism can be considered a direct consequence of relativity.
Normally, magnetic fields are seen as dipoles, having a "South pole" and a "North pole"; terms dating back to the use of magnets as compasses, interacting with the Earth's magnetic field to indicate North and South on the globe.
A magnetic field contains energy, and physical systems stabilize into the configuration with the lowest energy. Therefore, when placed in a magnetic field, a magnetic dipole tends to align itself in opposed polarity to that field, thereby canceling the net field strength as much as possible and lowering the energy stored in that field to a minimum. For instance, two identical bar magnets normally line up North to South resulting in no net magnetic field, and resist any attempts to reorient them to point in the same direction. The energy required to reorient them in that configuration is then stored in the resulting magnetic field, which is double the strength of the field of each individual magnet. (This is, of course, why a magnet used as a compass interacts with the Earth's magnetic field to indicate North and South).