A system of neurons that has the specialised function to produce and secrete hormones and that constitutes, in whole or in part, an endocrine system or organ. Description adapted from https://www.ncbi.nlm.nih.gov/mesh/68009490.