The excretory system removes waste from the body through excretion. The kidneys are key excretory organs that filter waste like carbon dioxide, water, and nitrogenous waste from the blood to produce urine. The urine passes from the kidneys through ureters to the urinary bladder, where it is temporarily stored before leaving the body through the urethra. The nephrons are the functional units of the kidneys that filter the blood and produce urine, consisting of a glomerulus surrounded by Bowman's capsule and tubules.