Electric fields work in a similar way to gravity. Whereas gravity always attracts, electric fields can either attract or repulse. Read less