The correct answer is: D. Last work of a poet or musician before death.
A swan song is a final performance, effort, or utterance of great beauty, power, or significance, typically one given just before death. The term comes from the belief that swans sing a beautiful song just before they die.
Option A is incorrect because it is not specific to a swan song. Music can be sweet without being a swan song.
Option B is incorrect because it is not specific to a swan song. A melodious song can be in praise of someone without being a swan song.
Option C is incorrect because it is not specific to a swan song. Praise of a woman by her lover can be beautiful without being a swan song.