Some names are very important, some are just labels and marking methods, and some names themselves are not important. On the surface, Yin, Yang and Five Elements are all used to name celestial bodies. The five planets are the Sun, Taiyin, Metal, Wood, Water, Fire and Earth.
This is how the ancients gave the familiar concepts around them to the stars in the sky that we don’t understand. In the minds of the ancients, the earth is composed of yin and yang and the five elements, while the sun, moon and five stars in the sky are the "essence in the sky" of the yin and yang and the five elements. For example, in Li Bai's "Gu Lang Yue Xing" "Yin Jing is deceived, and it is not enough to see when it goes away." Yin Jing means the moon is called "the essence of Taiyin". In other words, when the ancients named the sun, moon and five stars, they also followed the principle of "using familiar things around you and naming unfamiliar things far away."
Just like the ancient Greeks, they called Mars Mars, the god of war in mythology. The connection between Mars, the god of war, and the star in the sky is simply because the star is red. China believes that it represents fire, and Greece believes that it represents bloodshed and killing.
Of course, there are not only 5 planets in the solar system, but also more, such as Uranus, Neptune, Pluto, dwarf planets, asteroids, Halley's Comet, etc. Just using Yin Yang and Five Elements to name it is definitely not enough!
However, the names of Neptune, Uranus and Pluto discovered in modern times were named by Westerners, and our names are translated. The English name of Neptune, Neptune, is the name of the sea god in ancient Roman mythology. The name of Uranus is Uranus, which is the name of Uranus, the god of the universe in ancient Greek mythology. The name of Pluto is Pluto, the name of the god of the underworld in ancient Roman mythology. Since these three planets were first discovered by Westerners, they were named according to their habits.