In some insects, the maxillary glands are involved in lubrication and secretion near the mouthparts. While salivary glands are more universally involved, in certain groups like larvae and lower insects, maxillary glands can serve this lubricating function.