Vanilla flavoring was historically derived from castoreum, a secretion from beaver glands.
Why it is true
Although today artificial vanilla is mostly synthesized from wood or petroleum byproducts, castoreum was used for centuries as a natural flavoring agent due to its chemical similarity to vanilla.
Source: History
Would you rather be asked first?
This is the reading side of the site, so the answer is in the sentence above — that is the whole point of it. Test yourself works the other way round: the question comes on its own, and the fact and the explanation only appear once you have answered.