Write a sentence using a verb in the interrogative mood and then explain why the sentence is in that mood

"Did you finish your homework?"

This sentence is in the interrogative mood because the speaker is asking a question to gather information or seek clarification on whether the listener has completed their homework. This mood is used to inquire about a specific action or situation.