Nonsteroidal anti-inflammatory drugs (NSAIDs) are a class of medications commonly used to alleviate pain, reduce inflammation, and bring down fevers. Popular NSAIDs include aspirin, ibuprofen, and naproxen. These medications work by inhibiting enzymes known as cyclooxygenases (COX-1 and COX-2), which play a role in the synthesis of prostaglandins that promote inflammation, pain, and fever.