GO:0006796:   phosphate-containing compound metabolic process
The chemical reactions and pathways involving the phosphate group, the anion or salt of any phosphoric acid.