The primary function of CK14 is to maintain the structural integrity and stability of epithelial cells. It forms a complex with CK5 to create a network of intermediate filaments, which provide mechanical strength and protect against physical and chemical stresses.