Hey Mariam,
Also to what mjc123 said, H20 is a product of acid-base reactions based on the Arrhenius theory of what defines an acid or base. That theory considers acids as a compound that contributes a hydrogen protons (H+), and bases are compounds that contribute a hydroxide ion (OH-). Thus, this theory considers water as a product.
The Bronsted-Lowry definition really opens the idea of what is an acid or a base as simply proton donors or proton acceptors. So this may include more reaction possibilities that dont include water as acid-base reactions(defending mjc123's statement).
Hope that helped!