A relative pronoun points to some noun going before it.
He is the man who came to my house yesterday.
(‘Who’ is used for indicating humans.)
She is the new president whom everyone loves to hate.
(‘Whom’ is used for indicating humans.)
She is the girl whose photo was in the paper.
(‘Whose’ is used for indicating ownership.)
This was the watch which I lost in the museum.
(‘Which’ is used for indicating the non-living and animals.)
He is boy that won the Math Olympiad.
(‘That’ is used for indicating both the living and the non-living.)
A distributive pronoun points to persons, places or things one at a time.
Each of the students has done it.
Either of you has done it.
Neither of them has done it.
When ‘each’, ‘either’ and ‘neither’ are used along with some noun, they are called adjectives of number.
Each man has to speak for himself.
There is greenery on either side of the lake.
Neither problem has been solved.
[Remember: A noun does not immediately follow a distributive pronoun.]
An indefinite pronoun points to general persons, places or things.
Anyone can do that.
Did anybody see the actress?
One should look before leaping.
Someone has left the door open.
Somebody has stolen my jacket.
Some say that hay should be made while the sun shines.