Water is a compound because of the following reasons:
(i) It is composed of two different elements, hydrogen and oxygen which cannot be separated by physical methods. They can be separated only by electrolysis.
(ii) The physical and chemical properties of hydrogen and oxygen are entirely different from the properties of water.