Yes. Bactrim is a potent drug combination used to treat opportunistic infections of pneumonia, skin, bronchitis, traveler's diarrhea, respiratory and intestine infections. Both trimethoprim and sulfamethoxazole act to deprive folic acid bacteria, essential for the growth of such conditions.