Final answer:
Extinction occurs when a consequence is removed following an unwanted behavior in operant conditioning.
Step-by-step explanation:
In operant conditioning, extinction occurs when a previously reinforced behavior is no longer followed by a consequence. Extinction can occur purposefully or accidentally. It happens when a consequence is removed following an unwanted behavior.