THE KIDNEY Structure and function of the kidney. Function of the kidney The kidney has two main roles. One of the kidney’s roles is to maintain a stable.