A tape recorder is a device for recording sound, voice, and music in magnetic tape. As you probably know, when you expose an iron object to a magnetic field, for example, place an iron nail on a magnet, the nail itself becomes a small magnet after a while. You can test this by picking up a smaller nail with it. It is the capacity of iron to "remember" magnetic fields. That is the principle used to construct a tape recorder.