Here's why:
* Periods represent the number of electron shells an atom has. Helium, with only two electrons, fills its first and only electron shell.
* Groups represent the number of valence electrons an atom has. Helium is in group 18 (noble gases), meaning it has a full outer shell with 2 electrons, making it very stable and unreactive.