Some molecules or ions act as both an acid and a base towards water. Their predominant mode of reaction in water depends on the relative strengths of the acidic and basic components.
For example, protonated oxoanions can act either as an acid or as a base.

The biologically important aminoacids are also amphiprotic.
