This is an example of classical conditioning. This is a learning procedure that had a major impact in one of the schools of thought which is behaviorism. This happens when two stimuli are frequently paired; this is an answer provoked by the second stimulus that is eventually provoked by the first stimulus alone.