Electromagnetism The interaction of electric and magnetic effects. At the subatomic level, it is responsible for the attraction and repulsion of electrically charged particles such as electrons.