What is the meaning of Castoreum?

The bitter exudate of the castor sacs of mature beavers, used as a scent mark, and as a tincture in some perfumes.

A hat made from beaver fur.

castoreum (exudate from castor sacs)

castoreum, castor sac exudate

Source: wiktionary.org