Several reports have come out in recent years on how recent events replay in the hippocampus, a process thought to be crucial for creating long-term memories. Now a rat study suggests that these replays are not merely echoes of past events, but a dynamic process aimed at improving decision-making. Rather than being solely replays of recent or frequent paths through the maze, the replays were often paths that the rats had rarely taken or, in some cases, had never taken, as if the rats were trying to build maps to help them make better navigation decisions.
Memory replay not as simple as thought
 Hippocampal Replay Is Not a Simple Function of Experience. Neuron. 65(5), 695 - 705.(2010).