How is an electromagnetic field produced?

When an object has an electrical charge
When particles are arranged about a conductor
When a current runs through a conductor.
When a conductor interacts with a magnet

An electromagnetic field is produced when a current flows through a conductor. This flowing current creates a magnetic field around the conductor, which in turn produces an electromagnetic field. The strength and direction of the electromagnetic field can be influenced by the amount of current flowing through the conductor and the shape and material of the conductor.