The Classic of Mountains and Oceans – Chinese Mythology
Celestial Dog and Sun Eclipse –
In Chinese mythology, solar eclipse is caused by a vicious and hungry celestial dog who swallows the sun.
Below is a description about celestial dog and its eating habit in The Classic of Mountains and Oceans (山海经), an encyclopedia of ancient Chinese mythology about natural landscape compiled during Warring States Era 2,500 years ago: In Yin Mountain, there is a celestial dog with white head and ferocious nature. . (阴山。其中多文贝，有兽焉，曰天狗，其状如狸而白首，其音如榴榴，可以御凶).
Thus in Chinese tradition, the lunar, especially the solar, eclipses are viewed as a sign foreshadowing ill-fated events.
Chinese also discovered the natural cause of solar/lunar eclipses 2,500 years ago, with the earliest Chinese record on solar eclipse dating back to 2,000 BC.
Shi Shen, a Chinese astronomer lived during the Warring States Era and compiled the star catalogues, explained the eclipses were the results of the shadows cast by either the moon or Earth. For commemorating his contribution, crater Shi Shen on the Moon is named after him.