A learning process where an animal learns by connecting its own behavior with a response from its environment.