Rifampin is a bactericidal antibiotic that belongs to the rifamycin class. It works by inhibiting the DNA-dependent RNA polymerase in bacterial cells, effectively hampering their ability to synthesize proteins necessary for growth and replication. Its broad-spectrum activity makes it effective against a variety of Gram-positive and Gram-negative bacteria.