Coil of wire that when carrying an electric current produces a magnetic field?

Your question is unclear. If you are asking whether it produces a magnetic field, then yes it does. If you are asking what the coil is called, then it depends on the function of that coil -it could be a solenoid; it could be a transformer winding; it could be a generator's field winding; etc. You really must learn to ask a proper question.