Stimulus discrimination occurs when an organism learns to react to a particular stimulus (e.g., a doorbell) while disregarding other similar stimuli (e.g., a phone ring). This capability illustrates the ability to differentiate between stimuli based on their unique attributes.