The kidneys filter the blood in order to make urine, to release and retain water, and to remove waste.