Nephrology is the branch of internal medicine dealing with the study of the function and diseases of the kidney.