The god worshiped by everyone during the Shang dynasty was Shang Ti, the "lord on high." Shang Ti was believed to be the link between people and heavenly beings. The souls of ancestors, it was thought, visited with Shang Ti and received their instructions from him. It was therefore very important to make sure that Shang Ti was happy. This was done with various rituals and prayers, offerings, and sometimes even human sacrifices. Hope this answer help you.