The role of poetry in classical novels was usually to enhance the literary and artistic appeal of the novel, to provide support and hints for the development of the story and emotional expression, and to bring a deeper emotional experience to the readers. In novels, poems were often used to describe the image of the characters, the atmosphere of the scene, and to express the meaning and symbolic meaning of the story. For example, the use of poems in 'Dream of the Red Chamber', made the novel more poetic and picturesque, and also highlighted the character's personality and emotions. Poetry could also add historical and cultural value to the novel and present a more colorful literary world to the readers. By combining poetry with novels, readers can better understand the historical background and cultural implications of ancient culture, and thus have a deeper understanding of the stories depicted in novels. The role of poetry in classical novels was very important. It could not only enhance the artistic appeal and literary value of the novel, but also bring more profound emotional experience and cultural cognition to the readers.