Here's why:
* It modifies a verb: It describes how an action is performed. For example: "She smiled weakly."
* It can also modify an adjective or another adverb: "He was weakly protesting the decision." "She spoke weakly but clearly."
Let me know if you'd like more examples!