"Opposite charges attract; like charges repel" is the basic truth about electricity. And because of this we are able to use the most mobile of charges, the electron, to perform a great deal of work.