The flexible drive shaft has an input-side end piece (2) and an output-side end piece (3), where the flexible drive shaft is guided into a curved pipe (1). The flexible shaft is formed from multiple segments (4) that are arranged at a distance from each other between the both end pieces. The segments are connected among each other with the flexible connecting elements and with the end pieces for transmitting the rotary motion.