With intellect, which is to say the ability to learn and reason, an organism such as a person or dog can cope with a wide variety of problems that would require an enormous amount of hard-wiring if the behavioral solution to each problem were pre-programmed.