Electrical Machines are the devices which convert electrical energy to mechanical energy and vice versa.
The Generators convert Mechanical to Electrical and Electrical to Mechanical form.
Here are the symbols for all kinds of rotating machines.
The design of such motors is the production of such models is very difficult but an equally interesting task for Design Engineers. Check out this Production video by TES.