Cleocin (clindamycin hydrochloride) and Flagyl, Flagyl ER, and Flagyl Injection (metronidazole) are antibiotics used to treat serious infections caused by bacteria. Cleocin and Flagyl belong to different antibiotic drug classes. Cleocin is a lincomycin antibiotic and Flagyl is a nitroimidazole antibiotic.