* Adjective: Describing something that happened before something else.
* Example: "He arrived earlier than expected."
* Adverb: Modifying a verb, adjective, or another adverb to indicate time.
* Example: "We left earlier than usual."
The part of speech depends on its function in the sentence.