The primary purpose of the periodic table is to organize elements based on their atomic number. However, it also serves other purposes, such as helping to identify trends in reactivity and atomic mass. Therefore, the most correct answer is:
To organize elements based on their atomic number.