A device which converts electrical energy into mechanical energy is called:

A.C generator

D.C generator

Transformer

D.C motor