Wrap around a metal with wire instead of using wire alone.
conduction sdnoajndsojnfojanskfnijoaknfibas
All magnets have north and south poles. Opposite poles are attracted to each other, while the same poles repel each other. When you rub a piece of iron along a magnet, the north-seeking poles of the atoms in the iron line up in the same direction. The force generated by the aligned atoms creates a magnetic field.