The kidneys have two very important roles in maintaining the acid-base balance: to reabsorb and regenerate bicarbonate from urine, and to excrete hydrogen ions and fixed acids (anions of acids) into urine.