Interrogative pronouns introduce a question. They replace the noun asked for.
The pronouns "who" and "what" are declined. The same goes for "which", the latter distinguishes between the grammatical gender.