The endocrine gland which co-ordinates the action of other glands and is also associated with…