The foundations of the phenomena that cover magnetism are in invisible lines of forces produced by natural magnets, just as happens through the electromagnets. It is worth noting that among the three found types of most common natural magnets, one should emphasize the horseshoe, the magnetic bar and the compass needle.
These magnets have two main characteristics, they have the ability to attract and cling to the iron, and when they are free to move, as in the case of the compass needle, they point to the north and south poles.
When we talk about electricity, we can understand that the opposing poles have the capacity to attract, considering that all bodies that are charged from the electrical point of view must have a field impossible to be seen around them. If two bodies are loaded with exactly equal charges and put together, their electric fields will try to repel them, and in case the two bodies charged with opposing charges are put together, their electric fields will act to attract them.
The electric field discovered in the surroundings of a charged body may be correctly represented by invisible lines of force representing an invisible electric field that generates attraction and repulsion.