Question tags are made of an auxiliary verb plus a pronoun, which go at the end of a sentence, either to ask for more information about something, or to confirm something which we believe is true.
This is not a complete list. Notice that if the auxiliary verb is negative in the first sentence, it becomes affirmative in the inverted sentence and the 'not' moves to the front. In cases where ...