Mucin

Mucins () are a family of high molecular weight, heavily glycosylated proteins (glycoconjugates) produced by epithelial tissues in most animals. Mucins' key characteristic is their ability to form gels; therefore they are a key component in most gel-like secretions, serving functions from lubrication to cell signalling to forming chemical barriers. They often take an inhibitory role. Some mucins are associated with controlling mineralization, including nacre formation in mollusks, calcification in echinoderms and bone formation in vertebrates. They bind to pathogens as part of the immune system. Overexpression of the mucin proteins, especially MUC1, is associated with many types of cancer. 
Although some mucins are membrane-bound due to the presence of a hydrophobic membrane-spanning domain that favors retention in the plasma membrane, most mucins are secreted as principal components of mucus by mucous membranes or are secreted to become a component of saliva.
Genes.
At least 20 human mucin genes have been distinguished by cDNA cloning—MUC1, MUC2, MUC3A, MUC3B, MUC4, MUC5AC, MUC5B, MUC6, MUC7, MUC8, MUC12, MUC13, MUC15, MUC16, MUC17, MUC19, and MUC20. 
A recently identified human mucin gene is MUC21, previously known as chromosome 6 open reading frame 205. The highly polymorphic MUC22 is located near MUC21. The major secreted airway mucins are MUC5AC and MUC5B, while MUC2 is secreted mostly in the intestine but also in the airway.
Protein structure.
Mature mucins are composed of two distinct regions:
Function in humans.
Mucins have been found to have important functions in defense against bacterial and fungal infections. MUC5B, the predominate mucin in the mouth and female genital tract, has been shown to significantly reduce attachment and biofilm formation of "Streptococcus mutans", a bacteria with the potential to form cavities. Unusually, MUC5B does not kill the bacteria but rather maintains it in the planktonic (non-biofilm) phase, thus maintaining a diverse and healthy oral microbiome. Similar effects of MUC5B and other mucins have been demonstrated with other pathogens, such as "Candida albicans", "Helicobacter pylori," and even HIV. In the mouth, mucins can also recruit anti-microbial proteins such as statherins and histatine 1, which further reduces risk of infection.
Glycosylation and aggregation.
Mucin genes encode mucin monomers that are synthesized as rod-shapedapomucin cores that are post-translationally modified by exceptionally abundant glycosylation.
The dense "sugar coating" of mucins gives them considerable water-holding capacity and also makes them resistant to proteolysis, which may be important in maintaining mucosal barriers.
Mucins are secreted as massive aggregates of proteins with molecular masses of roughly 1 to 10 million Da. Within these aggregates, monomers are linked to one another mostly by non-covalent interactions, although intermolecular disulfide bonds may also play a role in this process.
Secretion.
Upon stimulation, MARCKS (myristylated alanine-rich C kinase substrate) protein coordinates the secretion of mucin from mucin-filled vesicles within the specialized epithelial cells. Fusion of the vesicles to the plasma membrane causes release of the mucin, which as it exchanges Ca2+ for Na+ expands up to 600 fold. The result is a viscoelastic product of interwoven molecules which, combined with other secretions (e.g., from the airway epithelium and the submucosal glands in the respiratory system), is called mucus.
Clinical significance.
Increased mucin production occurs in many adenocarcinomas, including cancers of the pancreas, lung, breast, ovary, colon and other tissues. Mucins are also overexpressed in lung diseases such as asthma, bronchitis, chronic obstructive pulmonary disease (COPD) or cystic fibrosis. Two membrane mucins, MUC1 and MUC4 have been extensively studied in relation to their pathological implication in the disease process. Mucins are under investigation as possible diagnostic markers for malignancies and other disease processes in which they are most commonly over- or mis-expressed.
Abnormal deposits of mucin are responsible for the non-pitting facial edema seen in untreated hypothyroidism. This edema is seen in the pretibial area as well.