It expresses the speaker's attitude towards a statement. Common moods are indicative, subjunctive, and imperative.