The urinary system, or renal system, consists of the kidneys, ureters, bladder, and urethra. Its primary function is to filter blood to remove waste products and excess substances, producing urine which is stored in the bladder until excretion through the urethra. The kidneys also regulate fluid balance, electrolyte levels, and blood pressure, and produce hormones essential for red blood cell production and bone health.