The reaction of the nonmetal phosphorus with oxygen makes the oxide P2O5 which dissolves in water to form H3PO4.
Is H3PO4 an acid or a base?
Acid   Base