Elements are divided into three classes i.e. metals, nonmetals and metalloids. When two or more elements combine chemically in a fixed proportion by weight, a compound is formed. The properties of a compound are altogether different from those of the constitutional elements.