Iron which is brought near a spiral of copper wire, traversed by an electrical current, becomes magnetic, and then attracts other pieces of iron, or a suitably placed steel magnet.