stylistic:style_transfer, quality:correction
Religion

Confucianism, Daoism, and Chinese Buddhism, as well as other various traditional homegrown Chinese philosophies, have influenced not only Han Chinese culture, but also the neighboring cultures in East Asia. Chinese spiritual culture has been long characterized by religious pluralism and Chinese folk religion has always maintained a profound influence within the confines of Chinese civilization both historically and in the modern era. Indigenous Confucianism and Taoism share aspects of being a philosophy or a religion and neither demand exclusive adherence, resulting in a culture of tolerance and syncretism, where multiple religions or belief systems are often practiced in conjunction with local customs and traditions. Han culture has for long been influenced by Mahayana Buddhism, while in recent centuries Christianity has also gained a foothold among the population.

Chinese folk religion is a set of worship traditions of the ethnic deities of the Han people. It involves the worship of various extraordinary figures in Chinese mythology and history, heroic personnel such as Guan Yu and Qu Yuan, mythological creatures such as the Chinese dragon or family, clan and national ancestors. These practices vary from region to region and do not characterize an organized religion, though many traditional Chinese holidays such as the Duanwu (or Dragon Boat) Festival, Qingming Festival, Zhongyuan Festival and the Mid-Autumn Festival come from the most popular of these traditions.

Taoism, another indigenous Han philosophy and religion, is also widely practiced by the Han in both its folk forms and as an organized religion with its traditions having been a source of vestigial perennial influence on Chinese art, poetry, philosophy, music, medicine, astronomy, Neidan and alchemy, dietary habits, Neijia and other martial arts and architecture. Taoism was the state religion during the Han and Tang eras where it also often enjoyed state patronage under subsequent emperors and successive ruling dynasties.

Confucianism, although sometimes described as a religion, is another indigenous governing philosophy and moral code with some religious elements like ancestor worship. It continues to be deeply ingrained in modern Chinese culture and was the official state philosophy in ancient China during the Han dynasty and until the fall of imperial China in the 20th century (though it is worth noting that there is a movement in China today advocating that the culture be "re-Confucianized").

During the Han dynasty, Confucian ideals were the dominant ideology. Near the end of the dynasty, Buddhism entered China, later gaining popularity. Historically, Buddhism alternated between periods of state tolerance (and even patronage) and persecution. In its original form, certain ideas in Buddhism was not quite compatible with traditional Chinese cultural values, especially with the Confucian sociopolitical elite, as certain Buddhist values conflicted with Chinese sensibilities. However, through centuries of mutual tolerance, assimilation, adaptation, and syncretism, Chinese Buddhism gained an respectable place in the culture. Chinese Buddhism was also influenced by Confucianism and Taoism and exerted influence in turn – such as in the form of Neo-Confucianism and Buddhist influences in Chinese folk religion, such as the cult of Guanyin, who is treated as a Bodhisattva, immortal, goddess or exemplar of Confucian virtue, depending on the tradition. The four largest schools of Han Buddhism (Chan, Jingtu, Tiantai and Huayan) were all developed in China and later spread throughout the Chinese sphere of influence.

Though Christian influence in China existed as early as the 7th century, Christianity did not gain a significant foothold in China until the establishment of contact with Europeans during the Ming and Qing dynasties. Christian beliefs often had conflicts with traditional Chinese values and customs which eventually resulted in the Chinese Rites controversy and a subsequent reduction in Christian influence in the country. Christianity grew considerably following the First Opium War, after which foreign missionaries in China enjoyed the protection of the Western powers and engaged in widespread proselytizing.

The People's Republic of China government unprecedentedly defined Han Chinese Muslims as a separate ethnic group, the " Hui People ". This was opposed by the Republic of China government and Han Chinese Muslim celebrities such as Bai Chongxi, the founder of the Chinese Muslim Association. Han Chinese Muslims were categorised as " inland nationals with special living customs " under the Republic of China government. Bai Chongxi believed that "Hui" is an alternative name for Islam as a religion in the Chinese language instead of the name for any ethnic group, and that Han Chinese Muslims should not be considered as a separate ethnic group apart from other Han Chinese.