Yes, Did is the past tense of v do , we use it in past simple tense when we want to ask a question or make a negative .For example, Did you go to school yesterday.
I did not play football last week.
we use did with all Pronouns.
Do and does are present form of Did and they are called Auxiliary verbs.