What is used of oleoresin obtained from cayenne pepper?

Pepper spray. In law enforcement it is not called pepper spray. It is called O.C. which stands for Oleoresin Capsicum. Capsicum is the pepper.