In fact, they concluded that animals can have very complex dreams that include memories or replays of events that happened while they were awake. The researchers studied rats that had been trained to run on a track. They mapped and measured brain activity with electrodes while the rats were awake and running.