'Which' is used to obtain information in order to make a comparison between two or more similar things or people.