That depends on the model. Roughly speaking, a distinction is made between S-pedelecs, pedelecs and e-bikes.
S-pedelecs are equipped with unlimited pedal assistance. These models require a moped licence and insurance.
Pedelecs with limited pedal assistance differ in that the motor only assists you when you pedal at the same time. The maximum motor speed is 25 kilometres per hour. Pedelecs do not require a driving licence or insurance.
E-bikes, on the other hand, which reach a maximum speed of up to 45 kilometres per hour, are subject to registration. Helmets are compulsory for these bikes. A driving licence and valid insurance are also mandatory.