Oxycodone is a prescription opioid medication used to treat moderate to severe pain when other pain management options are not sufficient. Because it carries risks of dependence, misuse, and overdose, it should only be used under the supervision of a licensed healthcare provider.