The Earth acts as a giant magnet with a north and south magnetic pole. Magnets can be natural or man-made using materials like iron oxide or an electric current in a coil of wire. There are different theories about magnetism on a molecular and electron level. Magnets have magnetic fields represented by flux lines that emerge from the north pole and enter the south pole. Unlike magnetic poles attract while like poles repel according to the laws of magnetism.