The device which converts electrical energy into mechanical energy is called a motor. And the device which converts mechanical energy into electrical energy is called a generator.
Basic principles
For generator:
Faraday’s law of electromagnetic induction states that when a conductor or a coil is rotated in a magnetic field, an EMF is induced in the conductor or a coil.
For motor:
If a conductor carrying current is placed in a magnetic field, force is developed in the conductor. If a number of conductors are connected in series are placed on a cylindrical rotor and rotor is placed in magnetic field and current is allowed to flow through a conductor or torque will be produced on rotor which will cause the rotor to turn.
A DC Machine works as a DC generator when it is driven by a prime mover. The same machine works as a DC motor when electrical energy is supplied to it. Therefore, constructional feature of a DC generator and a DC motor are the same.
Correct!