
A magnet's surface as a switch
A compass needle always points north because inside the material, all the atomic magnets are aligned in one direction. But there are materials where neighboring atoms face opposite ways, like rows of soldiers turned to face each other. Such materials are called antiferromagnets.