Non-steroidal anti-inflammatory drugs (NSAIDs) are a class of medications commonly used to reduce inflammation, relieve pain, and lower fever. They work by inhibiting the activity of cyclooxygenase (COX) enzymes, which are involved in the synthesis of prostaglandins, compounds that mediate inflammation and pain.