Psychology is the study of the mind and of human behaviour. Behaviourism was partly rejected because it cannot avoid talking about people's beliefs and desires and because of the advent of the computer. This is because many believe the mind is similar to a computer in that it processes information. Against the background of these preliminary thoughts, Evolutionary Psychology is the theory that the complexity of the mind has developed as a result of natural selection in response to changing social conditions. However, a new modular view of the mind has developed in contrast to this view which sees it as being divided into numerous parts, all designed to deal with, and assess, a variety of information.
Different environments pose different adaptive problems and so require different adaptations.
There is not much point in having eyes if you live deep underground, where there is no light. Our first ancestors lived in hot, sunny climates where they lived on fruit and nuts. Without solving these 'adaptive problems' our first ancestors would not have been able to pass on their genes and we would not be here. A brief look at each of these modules will help us see this more clearly. Any genes successful in preventing this will naturally be spread to subsequent generations.