The biological foundations of cognitive science