There are a large number of records on astronomical phenomena in the oracle bone inscriptions of the Yin and Shang dynasties, including records of the sun and the moon, solar and lunar eclipses, observation of the sun, stars, planets, new stars, and comets  These inscriptions indicate that the astronomy of the Yin Dynasty has reached a considerable level  And all these astronomical observations are inseparable from the witch religion of respecting the sky  And all these astronomical observations are inseparable from heaven-worshiping witchcraft
In the process of witch worship to heaven, astronomical observation is a rule-based and reliable method for divination of heaven
 This shows that astronomy has come into being from heaven-worshiping witchcraft, and its religious purpose is the same