An ancient god of millet grains, the harvest, and farming, Hou Ji is said to be the descendent of the Yellow Emperor, Huang Di, along with having his mother stepping on the footprint of the ruler of Heaven, the Jade Emperor, and became magically pregnant that way.
Hou Ji brought millet and wheat to humanity, thanks for this Hou Ji eventually became to be known as the Prince of Millet by King Chen Tang of Shang who was the found of the Shang dynasty. It is Hou Ji who is claimed to be founding ancestor of the Zhou dynasty that came right after the Shang dynasty.
This god is said to be the first to teach farmers how to cultivate and harvest crops. Every fifteenth day of the seventh month of the lunar year Hou Ji would be offered sacrifices and people would hang bad grain outside their gates in hope of Hou Ji to teach them how to better grow crops.