The study of how psychological processes have evolved over time, particularly in relation to survival and reproduction.