It is used to treat a wide variety of infections. It works by stopping the growth of certain bacteria and parasites.