One of the most important uses of magnets is electric motors, which are used to power machines ranging from small toys to enormous railway engines. Video and audio tape recorders also depend on magnetism. Their tapes contain tiny metal particles that are magnetized by the recording heads. When played back, another part of the head decodes the magnetic patterns. The hard drive and floppy disks in a computer work in a similar way.

Picture credit: google