Magnetism, electrical current, and atomic alignment