Mercury II oxide (HgO) is a compound, not an element. An element is a substance made of only one type of atom, while a compound is a substance made of two or more different types of atoms chemically bonded together. Mercury II oxide is composed of mercury and oxygen atoms, so it is a compound.