A single layer of thin platelike cells covering the surface of the inside of the abdominal cavity and thorax and surrounding the heart, forming part of the peritoneum and pleura (see serous membrane). It is derived from the mesoderm. Compare endothelium; epithelium.