The metal, needles, and wire created a closed loop circuit that can carry current. Current flows from the negative terminal of the battery, through the circuit, and to the positive terminal of the battery. Current in a closed loop also creates its own magnetic field, which you can determine by the “Right Hand Rule.” Making a “thumbs up” sign with your right hand, the thumb points in the direction of the current, and the curve of the fingers show which way the magnetic field is oriented.