Electricity and magnetism are intimately related. Surrounding every moving charge is both an electric field and a magnetic field. Both of these fields can influence other nearby charges. Whereas electric charges simply attract or repel (according to Coulomb's Law) the magnetic pushes and pulls between charges is more complicated (the force imposed on a moving charge is at right angles to both its direction of movement AND the direction of the magnetic field.