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

Did you finish your homework on time?

This sentence is in the interrogative mood because it is asking a question and seeking information, rather than making a statement or giving a command.