Buddhism believes that avalokitesvara is a bodhisattva with great compassion, and all victims only need to recite its name, "Bodhisattva can watch its voice immediately" and rescue themselves, hence the name. In the Tang Dynasty, Li Shimin's name was taboo, so he changed the word "world" to "Guanyin" for short.
Extended data:
Guanyin Bodhisattva is one of the four great Buddhists in China. According to legend, his birthday is February 19, enlightenment day is June 19, and nirvana day is September 19. It is said that the Dojo is Putuo Mountain. Belief in Guanyin has a far-reaching influence in China, resulting in various folklore about Guanyin. For example, it is widely circulated that Guanyin is the third princess of Miaozhuang Mountain in Xinglin country.
This female Guanyin legend can be seen in Zhu Bian's Old News of Quyi in the Song Dynasty. Later, Guan Daosheng's Biography of Guanyin Bodhisattva became a complete biography. On this basis, a large number of Guanyin story books have come out one after another, such as Xiangshan Baojuan, The Complete Biography of Guanyin in the South China Sea and The Way of Guanyin.