Oxycodone works by interacting with opioid receptors in the central nervous system, changing how the body perceives pain. Healthcare professionals may prescribe it for certain acute or severe pain conditions when other treatment options are insufficient or inappropriate.