Endocrinology deals with the study of hormones, their functions, and the diseases associated with them.