Non-opioid analgesics primarily work by inhibiting the enzyme cyclooxygenase (COX), which plays a key role in the synthesis of prostaglandins. Prostaglandins are lipid compounds that contribute to inflammation, pain, and fever. By reducing prostaglandin production, these drugs alleviate pain and inflammation. Acetaminophen, although not fully understood, is believed to work centrally in the brain to reduce pain and fever.