magnets can be created by running currents through wires, finding a suitable material that naturally has all the magnetic fields of its atoms aligned, or forcing the magnetic fields of atoms to align.