Cuboidal epithelium is specialized for secretion and absorption, making it suitable for the lining of kidney tubules (where reabsorption and secretion occur) and salivary gland ducts (where secretion of saliva takes place).