What does an electromagnet have?

Can you answer this question?