structural:summarization, linguistic:voice_change
Religion, cosmology, and metaphysics

Families throughout Han China made ritual sacrifices of animals and food to deities, spirits, and ancestors at temples and shrines. They believed that these items could be used by those in the spiritual realm. It was thought that each person had a two-part soul: the spirit-soul which journeyed to the afterlife paradise of immortals (xian), and the body-soul which remained in its grave or tomb on earth and was only reunited with the spirit-soul through a ritual ceremony.

In addition to his many other roles, the emperor acted as the highest priest in the land who made sacrifices to Heaven, the main deities known as the Five Powers, and spirits of mountains and rivers known as shen. It was believed that the three realms of Heaven, Earth, and Mankind were linked by natural cycles of yin and yang and the five phases. If the emperor did not behave according to proper ritual, ethics, and morals, he could disrupt the fine balance of these cosmological cycles and cause calamities such as earthquakes, floods, droughts, epidemics, and swarms of locusts.

It was believed that immortality could be achieved if one reached the lands of the Queen Mother of the West or Mount Penglai. Han-era Taoists assembled into small groups of hermits who attempted to achieve immortality through breathing exercises, sexual techniques, and the use of medical elixirs.

By the 2nd century AD, Taoists formed large hierarchical religious societies such as the Way of the Five Pecks of Rice. Its followers believed that the sage-philosopher Laozi (fl. 6th century BC) was a holy prophet who would offer salvation and good health if his devout followers would confess their sins, ban the worship of unclean gods who accepted meat sacrifices, and chant sections of the Tao Te Ching.

Buddhism first entered Imperial China through the Silk Road during the Eastern Han, and was first mentioned in 65 AD. Liu Ying (d. 71 AD), a half-brother to Emperor Ming of Han (r. 57–75 AD), was one of its earliest Chinese adherents, although Chinese Buddhism at this point was heavily associated with Huang–Lao Taoism. China's first known Buddhist temple, the White Horse Temple, was constructed outside the wall of Luoyang during Emperor Ming's reign. Important Buddhist canons were translated into Chinese during the 2nd century AD, including the Sutra of Forty-two Chapters, Perfection of Wisdom, Shurangama Sutra, and Pratyutpanna Sutra.