Sulfonamides are antibiotics that inhibit bacterial synthesis of folic acid, essential for DNA and RNA production. They work by blocking the enzyme dihydropteroate synthase, which prevents the conversion of para-aminobenzoic acid (PABA) into folate. Sulfonamides are commonly used to treat urinary tract infections, respiratory infections, certain gastrointestinal infections, and conditions like toxoplasmosis.