Normally we use the verb to be to show the status or characteristics of something or someone (as a stative verb). It says what I am, what you are or what something is.
The verb to be is used to create simple yes/no questions by simply inverting the order of subject and the “To be” verb.
For example:-I am a teacher. (Statement) Am I a teacher? (Question)