Oxycodone 40 mg is a prescription opioid medicine used to treat moderate to severe pain, especially when long-lasting relief is needed. It works by affecting how the brain and nervous system respond to pain, providing strong and sustained pain relief.