The mind is a set of information-processing machines that were designed by natural selection to solve adaptive problems faced by our hunter-gatherer ancestors.
We must remember that in nature there are neither rewards nor punishments—there are consequences.