Sulfasalazine is a sulfa drug, a derivative of Mesalazine (5-aminosalicylic acid abbreviated as 5-ASA), used primarily as an anti-inflammatory agent in the treatment of inflammatory bowel disease as well as for rheumatoid arthritis. It is not a pain killer.