electric current creates a magnetic field; opposite magnetic poles attract each other, and like magnetic poles repel each other; and current direction determines the magnetic poles. an electric motor consists of a stationary magnet and a moving conductor.