Answer:
C) By exposing a coil of wire to a changing magnetic field
Explanation:
An electrical generator creates electricity by exposing a coil of wire to changing magnetic field.
The generator converts mechanical energy which the energy due to the motion of a body and this produces electrical currents.