Which explains verb mood

Verb mood is a grammatical term that expresses the speaker's attitude towards the statement's content, whether it is a fact (indicative), a possibility (subjunctive), a command (imperative), a hypothetical (conditional), or a wish (optative). The verb's mood affects how it functions in a sentence, conveying information about the speaker's intent or perspective.