The energy of an object due to its motion is called mechanical energy.
The device used for converting mechanical energy to electrical energy is called a/an________.