Chinese folk religion comprises a range of traditional religious practices of Han Chinese, including the Chinese diaspora. This includes the veneration of shen ('spirits') and ancestors, and worship devoted to deities and immortals, who can be deities of places or natural phenomena, of human behaviour, or progenitors of family lineages. Stories surrounding these gods form a loose canon of Chinese mythology. By the Song dynasty (960–1279), these practices had been blended with Buddhist, Confucian, and Taoist teachings to form the popular religious system which has lasted in many ways until the present day. The government of modern China generally tolerates popular religious organizations, but has suppressed or persecuted these that they fear would undermine social stability.
The People's Republic of China is officially an atheist state, but the Chinese government formally recognizes five religions: Buddhism, Taoism, Christianity (Catholicism and Protestantism are recognized separately), and Islam. Chinese folk religion, being a syncretism, the government does not consider it a religion because it has ambiguous boundaries and a poorly defined structure, which is why Taoism and Buddhism are recognized as the country's historical religions, but folk religion is considered part of China's cultural heritage.