Paper by Michael S. Franklin and Michael J. Zyphur in Evolutionary Psychology:
This paper presents an evolutionary argument for the role of dreams in the development of human cognitive processes. While a theory by Revonsuo (2000) proposes that dreams allow for threat rehearsal and therefore provide an evolutionary advantage, the goal of this paper is to extend this argument by commenting on other fitness-enhancing aspects of dreams. Rather than a simple threat rehearsal mechanism, it is argued that dreams reflect a more general virtual rehearsal mechanism that is likely to play an important role in the development of human cognitive capacities. This paper draws on current work in cognitive neuroscience and philosophy of mind in developing the argument.
More here.