Here's why:
* Adverbs modify verbs, adjectives, or other adverbs. In this case, "very" modifies the adjective "knowledgeable."
* "Very" tells us the degree or extent to which the history teacher is knowledgeable. It emphasizes the level of knowledge.
Let me know if you have other sentences you'd like to analyze!