Phosphorus in the body is contained in inorganic (calcium, magnesium, potassium and sodium phosphates) and organic (carbohydrates, lipids, nucleic acids, etc.) compounds. Phosphorus is necessary for bone formation and cellular energy metabolism. Approximately 85% of all phosphorus in the body is in the bones, most of the rest is inside the cells, and only 1% is in the extracellular fluid.