Internal Structure. Viewed internally, the kidney has an outer layer of outer cortex which surrounds theinner medulla. The medulla consists of a number of medullary pyramids, named because of their triangular shape. ... From the calyces the urine drains into the wider open space of the renal pelvis.