The urinary system is a complex network responsible for the removal of waste from the body and the regulation of essential substances. Blood flows into the kidneys through the renal arteries, where it reaches the glomerulus, a network of capillaries that marks the start of the nephron.