Sense organs or other organs within the nervous system relates the external environment and controls the activities performed inside the body. Similarly, hormones releases from glands stimulate the cells or other glands. Thus, both system i.e nervous and glandular together perform the function of control and coordination in human beings.
The endocrine system is linked to the nervous system by effects of the hypothalamus on the pituitary gland, as seen in the adjacent image. The pituitary gland is known as the 'master gland' because its secretions control the activity of other endocrine glands.