Celecoxib is a nonsteroidal anti-inflammatory drug (NSAID) used to treat mild to moderate pain and help relieve symptoms of arthritis.