Non-opioid analgesics primarily work by inhibiting the production of prostaglandins, chemicals in the body that promote inflammation, pain, and fever. For instance, NSAIDs block the enzyme cyclooxygenase (COX), which is necessary for prostaglandin synthesis. Acetaminophen, while not fully understood, is believed to work centrally in the brain to reduce pain and fever.