The sentence needs to be completed with an action that was taken in the past because the phrase "last night" indicates the situation has already happened. Moreover, the verb has to agree with the subject of the sentence. In this case, the only option that fulfills these two requirements is D: was playing. This action is in past tense, and it matches with the singular subject "the jazz band".