Hal makes an electromagnet with a 9-volt battery, wire, and a steel rod. What is the function of electric current in his electromagnet?

Electric current creates a magnetic field that charges the rod.

Electric current attracts or repels charged objects.

Electric current determines the strength of the magnet.

Electric current powers the electromagnet.

Electric current creates a magnetic field that charges the rod.