The primary function of neuroendocrine cells is to secrete hormones in response to neuronal signals. These hormones can influence a range of physiological processes, including metabolism, growth, and stress responses. For example, in the pancreas, neuroendocrine cells secrete insulin and glucagon to regulate blood sugar levels.