“Does it charge as you pedal?”
This is a question frequently asked about electric bikes. The simple and quick answer is no – there is virtually no point charging the battery with your pedal power, because you would be taking away some of your leg power from pushing you forward, to convert it into battery energy (losing some in the process), to then convert it back into mechanical power via the motor, to push you forward.
It makes much more sense just to use all of your leg power to drive you forward! The motor should be run off of a battery that can carry a huge amount of energy, charged up from the mains power in your home a lot faster than you can charge it by pedalling.