There are basically two types of electric bicyles: pedal-assist and throttle-controlled. Both have electric motors that help drive the rear wheel.
From
To