是whose.如果用which,你认为which和purposes的关系是什么呢?用whose,相当于用了形容词行物主代词,表是“其目的,它的目的”.
比如:This is the room whose windows are broken.