Flagyl is used to treat assured infections caused by bacteria and different organisms in various elements of the figure. It is also used to prevent or treat some problems that may happen during surgery. Flagyl is truly an antibiotic that belongs to a group of medications known as nitroimidazoles. This medicine works by killing or stopping the development of bacteria and other organisms causing these infections. The physician may have recommended Flagyl for another cause.