Elements in the periodic table are either metals, non-metals or metalloids.
Metals are elements that react by losing electron(s) to attain an octet configuration. They occupy groups I, II and III of the periodic table and the transition metals.
Non-metals, on the other hand, are elements that react by gaining electron(s) to attain a stable configuration. Examples include halogens and noble gases among others.
Metalloids are elements in the periodic table that have the properties of both metals and non-metals.
Other examples of metalloids are arsenic, tellurium, germanium and polonium.