A Bartholin's cyst is a fluid-filled swelling that occurs on one of the Bartholin's glands, which are located on each side of the vaginal opening. These glands are responsible for secreting fluid that helps lubricate the vagina. When the duct of the gland becomes blocked, the fluid accumulates, leading to the formation of a cyst.