We use "which" as a determiner to ask a question about a specific group of people or things:
Which restaurant did you go to?
Which countries in South America have you visited?
When we are asking a general question we use "what" as a determiner:
What films do you like?
What university did you go to?