Dreams are the embodiment of the subconscious and the realization of desires. In real life, we will be restricted by objective reality, and many ideas are impossible or difficult to realize. It is easy to realize in dreams, which can be said to be a good psychological compensation and has a great psychological repair effect on us. For example, a person with bad interpersonal relationship is very eager for recognition from others. In real life, her wish is hard to come true. In the dream, she may dream that she is liked by others and brings joy.
Freud believed that the generation of dreams is closely related to daily life. For example, some things that happen during the day may become the material of dreams at night. Therefore, dreams are also the reappearance of our life experiences and our activities after the brain goes to sleep. We think about things when we are close to sleep, and we may dream about related things after we fall asleep.