The document discusses cognitive theory of dreaming, which interprets dreams based on quantitative analysis of thoughts, images, and sensations occurring during sleep. According to cognitive theory, dreams reveal conceptions of self, others, the world, penalties, and conflicts that shape behavior when awake. The theory proposed by Calvin Hall is that dreams help shape ideas about the world. Additional sections discuss how sleep processes memories by extracting rules and insights, integrating new and old memories, and imagining possible futures to create meaning. Analyzing dreams may help understand conditions like coma and mental illness.