 She says there are lots of theories. One is that we're running through a kind of threat simulation. Common feelings and dreams are things like fear, anxiety, guilt, helplessness. So there's actually a theory that comes to us from evolutionary psychology that one of the functions of dreams is to help us prepare for dangerous situations, kind of worst case scenarios in real life.