In histology, a cyst is a closed, sac-like structure filled with liquid, semisolid, or gaseous material. They can appear in various tissues and organs throughout the body. Cysts are often lined by a layer of epithelial cells and can be classified based on their origin, contents, and location.