A driveshaft with a universal joint at one or both ends.
universal joint
noun
A coupling that allows different parts of a machine not in line with each other some freedom of movement at the same time as transmitting rotary motion.
How often have the words cardan shaft and universal joint occurred in a corpus of books? (source: Google Ngram Viewer )