Hope this answers the question!
The modern periodic table of the elements contains 18 groups, or vertical columns. Elements in a group have similar chemical and physical properties because theyhave the same number of outer electrons.Source:
https://genesismission.jpl.nasa.gov/educate/scimodule/cosmic/explore_2ST.pdf