Rifampicin is a potent antibiotic used primarily in the treatment of bacterial infections, particularly tuberculosis (TB). It functions by inhibiting bacterial RNA polymerase, thereby blocking bacterial RNA synthesis and leading to the death of the bacteria. Rifampicin is often used in combination with other antibiotics to prevent resistance and ensure comprehensive treatment, especially in TB management. It is also effective against certain other bacterial infections, including leprosy and some types of staphylococcal infections.