How is electricity related to magnetism?