Non-Steroidal Anti-Inflammatory Drugs (NSAIDs) are often used to reduce fever and relieve pain and inflammation from joints, muscles, and superficial skin wounds.
Opioids work in the brain to numb the pain receptors and can bring an overall feeling of pleasure which is why they can be highly addictive. They are used to treat pain from deeper within the body.