Answer:
I think they are created by running electric currents through a coiled conductive wire.
Explanation:
Hope my answer has helped you!