Oxycodone is a prescription drug used to treat pain. It\'s a semi-synthetic opioid derived from thebaine, a natural compound found in many plants and animals. In Canada and most other countries (with the exception of India), oxycodone is classified as an opioid and controlled by law.