The real harem in ancient times was not a place where many women lived as described in modern novels, but a social system under the feudal system ruled by the emperor and his family. In ancient China, the emperor's harem was composed of a series of buildings and rooms, including the place where the concubines lived, the palace, the garden, and so on. The rank and number of concubines were determined according to the emperor's preferences and needs. They were generally selected and distributed according to age, beauty, talent, loyalty, and other factors. The concubines in the harem had to abide by certain codes of conduct, such as forbidding adultery with other concubines, not allowing them to leave the palace at will, and so on. At the same time, the concubines also needed to receive strict education and training to learn etiquette, music, literature, and other aspects of knowledge to improve their own cultural qualities and self-cultivation. In ancient China, the harem system was one of the important cornerstone of feudal rule, and it was also the political and emotional bond between the emperor and his concubines. Although the harem system guaranteed the safety and rule of the emperor to a certain extent, it also suppressed and restricted the rights and dignity of women.