Understanding the relationship between electricity and magnetism is important in understanding the way many electrical components function.