Oxycodone is a prescription opioid medication used to treat moderate to severe pain. It works by binding to specific receptors in the brain and spinal cord, reducing the perception of pain. Due to its potential for addiction and abuse, it is classified as a controlled substance and should be used under strict medical supervision. Common side effects include drowsiness, constipation, and nausea.