He was investigating the salivary reflex in dogs when he noticed that the animals not only salivated when food was placed in their mouths, but also reacted to stimuli that coincided with the presentation of food, such as the presence of a food bowl or the person who fed them.