Dipole fields, or an electric field between two charges of the same but opposite strength, work in a similar way to the poles on the rock. ... When two charges with equal but opposite charges are placed near each other, a field with curved lines is created.