Flat single layer of cells that form surface areas of many tissues in the body and function as thin barriers where nutrients, wastes, or respiratory gases are exchanged.