Question: is a dc motor a generator?
Answer: The DC motor is a ready made generator that will generate electricity. All that you have to do is turn the Axle of the generator using a mechanical outside source of energy .