Flagyl is an antibiotic effective against anaerobic bacteria and certain parasites. Anaerobic bacteria are single-celled, living organisms that thrive in environments in which there is little oxygen (anaerobic environments). Anaerobic bacteria can cause disease in the abdomen (bacterial peritonitis ), liver (liver abscess ), and pelvis (abscess of the ovaries and the Fallopian tubes). Giardia lamblia and ameba are intestinal parasites that can cause abdominal pain and diarrhea in infected individuals. Trichomonas is a vaginal parasite that causes inflammation of the vagina ( vaginitis ). Metronidazole selectively blocks some of the functions within the bacterial cells and the parasites resulting in their death.