Amphoteric nature of water is represented by following chemical reactions.
(1) Water as a base:
H2O(l)+H2S(g)⇌H3O+(aq)+HS−(aq)
(2) Water as an acid:
H2O(l)+NH3(aq)⇌OH−+NH+4
(3) Self ionization of water in which water simultaneous acts as acid and base.
2H2O→H3O++OH−