Which of the following conditions is required for producing an electric motor?
A. passing a current through a wire
B. moving a wire within a magnetic field
C. moving two wires within a magnetic field
D. passing a current through a wire within a magnetic field