Here's why:
* Adverbs modify verbs, adjectives, or other adverbs. They answer questions like "how," "when," "where," or "to what extent."
* In this sentence, "By" indicates the time at which the bell rang. It modifies the verb "rung."
Let me know if you have any other sentences you'd like to analyze!