Of which can apply to anything. E.g. "There were ten cakes, two of which were chocolate."
Of whom works the same way as of which, but exclusively for people. E.g. "There were ten people going on the trip, two of whom were French"
Whose is used to say something is someone's. E.g. "I know a man called James, whose rucksack was brown."