when a wire loop is connected to a battery, ______ is produced in the loop

A. a generator

B. mechanical energy

C. a magnetic field

D. a motor