Where is used for places or locations — for example, "Where are you going?" Were is the past tense of 'are' — for example, "We were late to the meeting."
“Where” refers to a place or location (e.g., “Where are you?”).
“Were” is the past tense of ‘are’ or part of a conditional (e.g., “They were happy” or “If I were rich…”).
In short: where = location, were = past tense of ‘are’.
Where is a linguistic element which is answered by where, a place, a location, whereas where is the past tense of are, and traditionally the element appears after the verb, followed by a plural subject or in hypothetical form.
Where” refers to a place or location, such as “Where are you going?” “Were” is the past tense of “are,” used to describe past states or actions, like “They were happy yesterday.” Though similar in sound, they serve very different grammatical purposes.
"Where are you going?" is an example of how "where" is used for locations or places. The past tense of "are" is "were," as in "We were late to the meeting."