the first is classical conditioning which is learning via association, this was studied by Pavlov with dogs. Pavlov paired a bell(ns) with food(ucs) which produced an unconditioned response of salivation. These 2 stimuli were repeatedly paired together and eventually the bell became the conditioned stimulus which produced a conditioned response of salivation without the presence of food, this is because the dog had associated the bell with food which produced salivation.