A sting operation is an undercover operation conducted to catch individuals engaging in illegal activities by using deception and surveillance techniques.