Two organ systems, the kidneys and lungs, maintain acid-base homeostasis, which is the maintenance of pH around a relatively stable value. The lungs contribute to acid-base homeostasis by regulating carbon dioxide (CO2) concentration. 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.