I am going to compare Germany and Iran.
In Germany, the power is with the people (=it's a democracy) which are represented by the members of the parliament: it's a representative democracy. It's also a federation of 16 states.
Iran, on the other hand is a theocracy: a country ruled by the members of the clergy. It can also be named an oligarchy: the power is with a few members of the society.
The Sierra Nevada Mountain.
Answer:
1. The British had exhausted their resources (army and money) and didn't have the required manpower pool to keep the British Raj from functioning.
2. The Indians was felt they deserved independence after helping the British after WW2 in the North African campaign and other theaters of war.
This was not internet searched/pirated
FYI: I only know about WW2 history, so sorry if they are other reasons.