Here's why:
* It modifies a verb: It describes how an action is performed. For example, "She sang cheerfully." "Cheerfully" tells us how she sang.
* It ends in "-ly": Many adverbs in English end in "-ly".
Let me know if you have any other words you'd like to identify the part of speech for!