Magnetic storage media and devices store data in the form of tiny magnetised dots. These dots are created, read and erased using magnetic fields created by very tiny electromagnets.
In the case of magnetic tape the dots are arranged along the length of a long plastic strip which has been coated with a magnetisable layer (audio and video tapes use a similar technology).
In the case of magnetic discs (e.g. floppy disc or hard-drive), the dots are arranged in circles on the surface of a plastic, metal or glass disc that has a magnetisable coating.