Celecoxib is a sulfonamide nonsteroidal anti-inflammatory drug (NSAID) and selective COX-2 inhibitor used in the treatment of osteoarthritis, rheumatoid arthritis, acute pain, painful menstruation and menstrual symptoms, and to reduce numbers of colon and rectum polyps in people with familial adenomatous polyposis. The Searle research group found the two appropriately substituted aromatic rings must reside on adjacent positions about the central ring for adequate COX-2 inhibition. Various modifications can be made to the 1,5-diarylpyrazole moiety to deduce the structure-activity relationship of celecoxib. A para-sulfamoylphenyl at position 1 of the pyrazole was found to have a higher potency for COX-2 selective inhibition than a para-methoxyphenyl. In addition, a 4-(methylsulfonyl)phenyl or 4-sulfamoylphenyl is known to be necessary for COX-2 inhibition.