The urinary system functions to eliminate waste from the body and regulate water balance and electrolyte levels. It consists of the kidneys, ureters, urinary bladder, and urethra. The kidneys contain millions of nephrons, which are the functional filtering units that form urine by selectively reabsorbing useful substances while filtering out waste. Urine is transported from the kidneys to the bladder via the ureters. The bladder stores urine until voiding through the urethra. As we age, urinary function progressively declines as the bladder shrinks and urinary retention becomes more common.