Meaning of the idiom ‘Swan song”?

A. Last Work
B. First work
C. Middle work
D. Early work