Here's why:
* Adverbs modify verbs, adjectives, or other adverbs. They tell us how, when, where, or to what extent something happens.
* In the sentence "He walked aimlessly down the street," "aimlessly" modifies the verb "walked" by telling us how he walked.