The production and secretion of saliva is an essential function of the salivary glands. Saliva is a complicated liquid with different functions, including moistening, digestion, mineralization, lubrication, and mucosal protection. This review focuses on the mechanism and neural regulation of salivary secretion, and saliva is secreted in response to various stimuli, including odor, taste, vision, and mastication. The chemical and physical properties of saliva change dynamically during physiological and pathophysiological processes. Moreover, the central nervous system modulates salivary secretion and function via various neurotransmitters and neuroreceptors. Smell, vision, and taste have been investigated for the connection between salivation and brain function. The immune and endocrine functions of the salivary glands have been explored recently. Salivary glands play an essential role in innate and adaptive immunity and protection. Various immune cells such as B cells, T cells, macrophages, and dendritic cells, as well as immunoglobins like IgA and IgG have been found in salivary glands. Evidence supports the synthesis of corticosterone, testosterone, and melatonin in salivary glands. Saliva contains many potential biomarkers derived from epithelial cells, gingival crevicular fluid, and serum. High level of matrix metalloproteinases and cytokines are potential markers for oral carcinoma, infectious disease in the oral cavity, and systemic disease. Further research is required to monitor and predict potential salivary biomarkers for health and disease in clinical practice and precision medicine.