The electron spin of large numbers of electrons plays a role as a source of the magnetism in permanent magnets. In most materials these spins are random in direction and so no magnetic field results. In normal electronics the flow of current in a wire can also be used to produce a magnetic field which is known as electromagnetism. Neither of these form a part of spintonics.