\Sanhuangwudi (三皇五帝 in pinyin: san1 huang2 wu3 di4) (2500 BC - 2205 BC) were mythological rulers of China during the period preceding the Xia Dynasty in Chinese mythology.
It is said that the san (three) huang (godkings) used their magical powers to improve the lives of their people and that the wu (five) di (emperors/sage kings) were morally perfect.
The "three godkings" are:
Huang Di is said to be the common ancestor of all the Chinese. Yu the Great, who was a hero during the reign of Shun, was the founder of the Xia Dynasty.
Note: Huang Di (黄帝) is different from huangdi (皇帝), which means "emperor" and was first used by Qin Shi Huangdi, the First Emperor of Qin.