The salivary glands are exocrine glands responsible for producing saliva, which aids in digestion, lubrication, and oral hygiene. They are categorized into major and minor glands, with the major ones being the parotid, submandibular, and sublingual glands, each with distinct anatomical locations and functions.