The hidden link between electricity and magnetism