The study of the properties and behavior of electric and magnetic fields and their interactions with matter.