The word sometimes is an adverb. Adverbs are words that modify verbs, adjectives, or other adverbs, and they often provide information about time, frequency, manner, or degree.
In the case of sometimes, it expresses frequency. It indicates that an action occurs on certain occasions but not all the time. For example, in the sentence “I sometimes go for a run in the morning,” the adverb sometimes gives us information about how often the subject goes for a run.
Understanding the function of sometimes as an adverb helps in grasping the nuances of sentences and enhances one’s ability to communicate time-related information effectively.