What is shown in the diagram?
A motor
A generator
An electromagnet
A turbine

Its a Generator
It generates an electrical current using a battery.
A motor generates a mechanical current that you have to physically generate yourself.
Hope this helps! :)