Regarded as an opioid pain medication, Oxycodone is primarily employed to treat moderate to severe pain.

https://recoverypartnernetwork.com/drug/opioid/oxycodone-addiction