Electric bikes are generally pedal assist. They require you to pedal, but make it as easy to pedal up a hill as to go on a flat street.
They’re less exercise vs a regular bike, but you still get a good bit of exercise. Perhaps more exercise, if the e-bike causes you to bike something you would have driven instead.