Kidney function is critical for filtering waste products like urea from the blood. When the…