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

Can you pass the salt, please? This sentence is in the interrogative mood because it is asking a question to seek information or a specific action from someone.