Boric acid is used as a suppository for vaginal use to help treat conditions such as bacterial vaginosis and recurrent yeast infections. It works by altering the pH balance of the vagina, creating an environment that is less hospitable to harmful microorganisms.