Ivan Pavlov was the researcher that first realized that certain psychic secretions pointed to a simple but important form of learning.
The way he figured this out was when dogs paired certain things with food, and because of this, the dogs started salivating.