Sentence: "If he were taller, he could play basketball."
Explanation: The subjunctive mood is used to express wishes, hypotheticals, or conditions that are not real. In this sentence, "were" is the verb in the subjunctive mood, which you can recognize because it is used here instead of "was," indicating a situation that is not true.