Oxycodone and ibuprofen are both pain relievers but work very differently. Oxycodone is a strong opioid prescribed for moderate to severe pain, acting on the central nervous system. Ibuprofen is a nonsteroidal anti-inflammatory drug (NSAID) used for mild to moderate pain and inflammation