According to Healthline, it has to do with the latter.
Rubin Naiman, who has a Ph.D. in psychology, spent years of his life studying sleep patterns and habits.
According to him, “Dream interpretation is about decoding the dream.
It enlightens us and expands our awareness psychologically, [offering an] expansion of consciousness.”