Mood is how the speaker feels about what is being written or the way the thought is being expressed. The most commonly discussed moods are indicative, imperative, and subjunctive.
1. Indicative mood is fact mood. It states, or indicates, a fact, asks a fact, or denies a fact.
Rain is falling. Is rain falling? Rain is not falling.
2. Imperative mood is command mood. It gives a command, begs, or advises you to do something.
Get inside the class, now.
3. Subjunctive mood shows something hypothetical or contrary to fact. It might be a wish, a desire, a doubt, or an imaginary situation.
I wish school were over. (It's not over. ) If school were over, I would take a nap. (It's not over. ) If I were a President, I would bring prosperity in the nation. (You aren't a President. )