Here's the breakdown:
* was: This is the past tense of the auxiliary verb "to be," which is used to form the progressive tenses.
* listening: This is the present participle of the verb "to listen," which indicates an ongoing action.
Together, "was listening" forms the past progressive tense, describing an action that was happening in the past.