What is Auguste Comte’s ‘Law of Three Stages’?

According to Comte, each branch of our knowledge passes successively through the different theoretical conditions. It is known as law of three stages. The main aim of this principle is that it provides the basis of sociological thinking.