Given that an animal has the ability to locomote and to sense its environment, its brain is able to interpret the sensory information and select appropriate actions to yield a useful range of behavior.