The study of the neural basis of animal behavior, including how animals sense and respond to their environment.