What are the main provisions of the Indian Independence Act of 1947?

What are the main provisions of the Indian Independence Act of 1947? The growing communalism among the Muslims led to a two-nation theory. The Hindu-Muslim unity which had lasted for some time in the colonial India shattered into pieces.