How to get the term description in a taxonomy term archive query?

The term_description() function returns the description rather than echoing or printing it.

To fix the issue, use:

echo term_description();