electrodynamics

the branch of electricity that deals with the mutual action of electric currents and the interaction of currents and magnetic fields.