The Bartholin glands are located at the opening of the vagina. They make mucus and help lubricate the vagina. These glands can get plugged or infected, resulting in another type of cyst known as Bartholin's cysts.