Celebrex (celecoxib) is a prescription medication that belongs to a class of drugs called COX-2 inhibitors, which are a type of nonsteroidal anti-inflammatory drug (NSAID). It is primarily used to treat pain, inflammation, and swelling caused by various conditions such as:Osteoarthritis, Rheumatoid arthritis, Acute pain (including pain after surgery),Menstrual pain, Ankylosing spondylitis