The study of the glands and hormone systems in the body and the effects of hormones on physiological processes.