There are some similarities in the behavior of magnetic and electric forces in that in both cases, opposite poles or charges attract while similar poles or charges repel each other.
(similar poles or charges; repel; each other) (opposite poles or charges; attract; T:while similar poles or charges repel each other)
similar poles or charges opposite poles or charges
repel attract
each other
T:while similar poles or charges repel each other