name the three general categories into which the elements are divided.