The periodic table groups elements into which of the following three categories?

a. Solids, Liquids, Gases
b. Heavy, Light, Medium
c. Dense, Expanded, Compressed
d. Metals, Nonmetals, Metalloids

d. Metals, Nonmetals, Metalloids