A behaviorist would explain that a rat stays in dark corners and avoids open areas because through reinforcement or punishment, it has learned that those behaviors increase its chances of survival. An evolutionary psychologist would say the rat's behaviors are innate abilities that evolved because they helped predecessors survive and reproduce by avoiding danger. Both views see the behaviors as adaptive for increasing the rat's likelihood to survive.