How do Magnets Work?