Thin membranous tissue that covers the surface of the body, forms the tubular lining of the alimentary tract (from mouth to anus) and also lines body cavities.