How And Why Do Magnets Work