Dear Student
Metals and nonmetals properties are different so they have nearly distinct vision in periodic table. In periodic table same properties elements are placed in a same group so metals are placed in a same group or nearly same groups side. For nonmetals also reasons are same.
Regards