Kidneys also help in monitoring the concentration of electrolytes like sodium and potassium, thus, maintaining the acid-base balance in the body. Impaired renal functioning can lead to a number of health problems. More often than not, it is accompanied by a sharp and piercing pain in the lower or middle abdomen, near the ribs.