Here's why:
* Adverbs modify verbs, adjectives, or other adverbs.
* "Endlessly" describes how something happens (e.g., "She talked endlessly about her trip.").
* It tells us the duration of the action (in this case, the talking).
Let me know if you'd like more examples!