1. Water is an amphoteric oxide. It has the ability to act an acid as well as a base. That is, water shows this behavior when it reacts with hydrogen chloride and ammonia.
2. When water reacts with ammonia, it behaves as an acid.
3. When water reacts with hydrogen chloride, behaves as a base.
So, water is an amphoteric oxide.