Groups are the columns of the periodic table where the elements are arranged vertically due to their similarities of properties.
The origins on the periodic table begin with the work of John Newlands and Dimitri Mendeleev.
Electrons exist in shells around the nucleus and have different configurations and layouts based on the element in the periodic table. Electrons are also very important in bonding.