The outermost layer of cells or skin. This tissue often contains specialized cells for defense, gas exchange, or secretion.