Adverbs are quite a varied class of words, which work in several different ways in sentences. Think of examples like obviously, afterwards, extremely, gently. These show that adverbs can express many different kinds of meaning.
This makes adverbs a useful word class. However, many experienced writers advise us to avoid overusing adverbs, and instead find other ways of describing actions and events.