You can get just as hard of a workout as with a manual bicycle — it's just that you go faster and cover more distance.
However, it also gives you the option to pedal lightly and rely on the motor more, when getting sweaty isn't convenient.