The study of the chemical reactions that occur within the body to produce hormones and their metabolism.