What type of epithelium functions in secretion, absorption, and as a barrier for protection? It can be ciliated or nonciliated.