A DC generator work by converting the mechanical energy of the rotating coil to electrical energy and hence current is generated.
What if this generated current is supplied to a motor which in turn helps of the rotation of the coil in the same generator, wouldn't this lead to perpetual motion?
I know I made a mistake, but I'm not able to find out where