A drug that kills or inhibits the growth of bacteria.