Electrodynamics is the branch of physics that deals with the interactions of electric currents with magnetic fields or with other electric currents. While electrostatics focuses on stationary charges, electrodynamics examines charges in motion and the resulting time-varying fields.