Chemical element is a set of atoms which have an identical charge of a kernel and the number of protons coinciding with serial number in Mendeleyev's Table. The concept "element" was known from an extreme antiquity. But only the famous chemist Lavoisier in 1789 systematized chemical elements on types.
Simply any atom can be presented in the form of a tiny, but massive kernel around which on circular or elliptic orbits electrons rotate. Chemical properties of an element depend on the external "valent" electrons which are taking part in formation of a chemical bond with other atoms. Atom can "give" the electrons, and can "accept" strangers. In the second case it means that atom shows nonmetallic properties, that is, is nonmetal. Why does it depend?