Here's why:
* It modifies a verb: It describes how an action is performed. For example: "The fox cunningly outsmarted the farmer."
* It ends in "-ly": This is a common ending for adverbs in English.
Let me know if you have any other words you'd like to identify the part of speech for!