Question: is dc motor a generator?
Answer: Generally, DC motors also works as Electricity Generator too… The DC motor is a ready made generator. That will generate electricity. All that you have to do is, turn the axle of the dc motor, using a mechanical outside source of energy.