water is a compound.
A compound forms whenever two or more atoms form chemical bonds with each other. The chemical formula for water is H2O, which means each molecule of water consists of one oxygen atom chemically bonded to two hydrogen atoms.
WHY WATER IS NOT AN ELEMENT
An element is a substance consisting of only one type of atom. Water consists of two types of atoms: hydrogen and oxygen.