A cyst is a cavity that contains a liquid or a semi-solid substance that forms in an organ or in a tissue. The vast majority of cysts are not cancerous, but some can disrupt organ function and cause pain.