Mucins are composed of a protein core with numerous O-linked oligosaccharides attached to serine or threonine residues. The protein core is rich in proline, threonine, and serine, which contribute to the extended, rigid structure of mucins. This structure is essential for their function in forming a hydrated gel-like matrix that protects epithelial cells.