What is the meaning of Castoreum?

The bitter exudate of the castor sacs of mature beavers.

A hat made from beaver fur.

castoreum (exudate from castor sacs)

castoreum, castor sac exudate

Source: wiktionary.org