The kidneys had the important job of doing what

The kidneys have the important job of filtering waste products and excess water from the blood to produce urine. They help regulate the body's fluid balance, electrolyte levels, and blood pressure. Additionally, the kidneys play a role in producing and regulating certain hormones such as erythropoietin, which stimulates red blood cell production, and renin, which helps control blood pressure.