What is a pronoun?
A pronoun is a word used instead of a noun or noun phrase. Pronouns refer to either a noun that has already been mentioned or to a noun that does not need to be named .
The most common pronouns are the personal pronouns, which refer to the person or people speaking or writing (first person), the person or people being spoken to (second person), or other people or things (third person).

There are a number of other types of pronouns. The interrogative pronouns—particularly what, which, who, whom, and whose—introduce questions for which a noun is the answer, as in “Which do you prefer?”
Possessive pronouns refer to things or people that belong to someone. The main possessive pronouns are mine, yours, his, hers, its, ours, and theirs.
The four demonstrative pronouns—this, that, these, and those—distinguish the person or thing being referred to from other people or things; they are identical to the demonstrative adjectives.
Relative pronouns introduce a subordinate clause, a part of a sentence that includes a subject and verb but does not form a sentence by itself. The main relative pronouns are that, which, who, whom, what, and whose.
Reflexive pronouns refer back to the subject of a sentence or clause and are formed by adding -self or -selves to a personal pronoun or possessive adjective, as in myself, herself, ourselves, and itself.
Indefinite pronouns, such as everybody, either, none, and something, do not refer to a specific person or thing, and typically refer to an unidentified or unfamiliar person or thing.
The words it and there can also be used like pronouns when the rules of grammar require a subject but no noun is actually being referred to. Both are usually used at the beginning of a sentence or clause, as in “It was almost noon” and “There is some cake left.” These are sometimes referred to as expletives.
Example:
Ram is a post man. Ram carries letters.
To make the second sentence sound better we can change the word Ram to he.
Now: Ram is a postman. He carries letters.
The word he is a pronoun and that takes the place of Ram