Here's the breakdown:
* Part of speech refers to the grammatical function of a word in a sentence (like noun, verb, adjective, etc.).
* Mood describes how the verb is used to express a particular attitude, intention, or relationship between the speaker and the listener.
The imperative mood specifically expresses a command, request, or instruction. For example:
* Close the door. (command)
* Please, sit down. (request)
* Go to the store. (instruction)
In these sentences, the verbs "close," "sit," and "go" are in the imperative mood.