please help! i'll give brainliest!!

In a electromagnet that is made up of a D-cell battery with wire wrapped
around an iron nail, the ends of the wire being taped to the battery, what is
the core of the electromagnet?
D battery
wire
tape
iron nail