Motors and generators both use magnets. With a motor, the energy input is electricity, the output is torque (or HP if rate is included). With a generator the opposite is true.
Remember conservation of energy. There are always friction losses, so less energy always comes out than goes in.
Sorry, no perpetual motion machines.
Cheers, Steve SSOA F00-1363 CCSD #204
2000 Camaro SS Lt. Pewter, neutral leather, M6, Hurst, PEG2, ASR, defogger
SLP Chrome ZR1's, D-D exhaust, Bilstein, Castrol, cover, mats, fobs
BMR STB, SLP !CAGS, AAM Diff cover, Chrome Hood Insert, Zaino
Dyno'd at 312 RWHP, 321 RWT