This is an illustration of how magnetism works.