Mesothelium
The mesothelium is a membrane composed of simple squamous epithelial cells of mesodermal origin, which forms the lining of several body cavities: the pleura (pleural cavity around the lungs), peritoneum (abdominopelvic cavity including the mesentery, omenta, falciform ligament and the perimetrium) and pericardium (around the heart). Mesothelial tissue also surrounds the male testis (as the tunica vaginalis) and occasionally the spermatic cord (in a patent processus vaginalis). Mesothelium that covers the internal organs is called visceral mesothelium, while one that covers the surrounding body walls is called the parietal mesothelium. The mesothelium that secretes serous fluid as a main  function is also known as a serosa. Origin. Mesothelium derives from the embryonic mesoderm cell layer, that lines the coelom (body cavity) in the embryo. It develops into the layer of cells that covers and protects most of the internal organs of the body. Structure. The mesothelium forms a monolayer of flattened squamous-like epithelial cells resting on a thin basement membrane supported by dense irregular connective tissue. Cuboidal mesothelial cells may be found at areas of injury, the milky spots of the omentum, and the peritoneal side of the diaphragm overlaying the lymphatic lacunae. The luminal surface is covered  with microvilli. The proteins and serosal fluid trapped by the microvilli provide a slippery surface for internal organs to slide past one another. Function. The mesothelium is composed of an extensive monolayer of specialized cells (mesothelial cells) that line the body's serous cavities and internal organs. The main purpose of these cells is to produce a lubricating fluid that is released between layers, providing a slippery, non-adhesive, and protective surface to facilitate intracoelomic movement. The mesothelium is also implicated in the transport and movement of fluid and particulate matter across the serosal cavities, leukocyte migration in response to  inflammatory mediators, synthesis of pro-inflammatory cytokines, growth factors, and extracellular matrix proteins to aid in serosal repair, and the release of factors to promote the disposition and clearance of fibrin (such as plasminogen). Mesothelial cells are capable of phagocytosis and are antigen-presenting cells. The secretion of glycosaminoglycans and lubricants may protect the body against infection and tumor dissemination.