In semiconductor spintronics, the spin of the electron carries information for both storage and data processing. To some extent, the electron spin can be viewed as a miniature bar magnet that interacts with a magnetic field inside the semiconductor. The orientation of the bar magnet acts as a "bit" of information.