Here's why:
* It modifies a verb: It tells us how or to what extent the verb is happening.
* Example: "He surely knows the answer." (modifies "knows")
* It can also modify an adjective or another adverb:
* Example: "That was a surely beautiful performance." (modifies "beautiful")
Let me know if you have any more words you want to categorize!