Name the elements in the 2nd and 18th groups of the periodic table.
Magnesium belongs to the ______ (1st/2nd) group and the _______ (2nd/3rd) period in the periodic table.