Electric bikes pedal and handle just like a regular bicycle. By and large, an electric bike will use the same parts too. The electric component is meant to augment human power, not completely replace it. It makes obstacles like hills and headwind more manageable and allows you to travel further without getting as tired.
See our diagram for a more detailed look at how electric bikes work including the motor, battery, drivetrain, and charging process:
Ebike Battery Pack 48v