how dose the concept of the mandate of Hevan function in ancient Chinese government? write it like a 2nd grader and make it short 2 sentences

The concept of the mandate of Heaven is like a special power given by the sky to emperors in ancient China. It means that if the emperor is a good ruler who takes care of the people, the sky will support him, but if he is a bad ruler, the sky will choose someone else to be the emperor.

shorter

The mandate of Heaven in ancient China was like a gift from the sky to the emperor. If the emperor was good, the sky liked him, but if the emperor was bad, the sky chose someone else.