A phosphorus (P) test measures the level of this mineral in the blood serum. Phosphorus is found primarily in bones and teeth and is also an essential component of the primary energy molecules (ATP), DNA, and cell membranes. Its blood level is closely balanced with calcium levels and is mainly regulated by the kidneys, parathyroid hormone (PTH), and vitamin D.