Anti-inflammatory drugs function by targeting various aspects of the inflammatory response. NSAIDs, for example, inhibit the enzyme cyclooxygenase (COX), which is responsible for the production of prostaglandins, compounds that promote inflammation, pain, and fever. Corticosteroids, on the other hand, suppress the immune system by reducing the production of inflammatory molecules such as cytokines and chemokines.