WHICH is used when a choice needs to be made. (= I want to know the thing between alternatives)
Which dish did you order – the pizza or the pasta?
Which day do you prefer for a meeting – today or tomorrow?
Which is better - this one or that one?
WHERE
WHERE is used when referring to a place or location. (= I want to know the place)
Where is the library?
Where do you live?
Where are my shoes?