The swelling could be sebaceous cyst
,a swelling which occurs where hairs are present.
It contains paste like material.It gets infected most of the time leading to pain,fever
Unless infected,it is painless.
It is not related to any cancer or ovarian cysts.
Please consult a surgeon and get it removed
Wish you good health