Answer:
Ionization energy decreases from top to bottom in groups as the size of the atom becomes larger. For example, the first ionization energy of hydrogen is 1310 kJ mol⁻¹. The first ionization energy of lithium is 519 kJ mol⁻¹. Because lithium is a bigger atom and has more protons than hydrogen, its ionization energy is lower. So, in groups, the lower the ionization energy, the larger the atom and the more protons/electrons it has.
Ionization energy also increases from left to right across a period. The more protons in the nucleus, the greater the attraction between the nucleus and the electrons, which makes it more difficult to remove electrons. Helium has an ionization energy of 2370 kJ mol⁻¹ while hydrogen has an ionization energy of 1310 kJ mol⁻¹ because helium's nucleus has 2 protons attracting electrons instead of 1 like hydrogen. So for periods, the higher the ionization energy, the smaller the atom and the more protons/electrons it has.
Ionization energy is the energy required to remove an electron from its orbital around an atom. It increases across a period because the number of protons in the nucleus increases. This creates a stronger attraction between the nucleus and electrons, causing the electrons to be held tighter by the higher nuclear charge. Because the electrons are more difficult to remove, more energy is required which causes the ionization energy to be higher. So for periods, the more electrons the atom has, the higher the ionization energy. Ionization energy decreases down a group because the first electron removed is farther from the nucleus as the number of protons increases. Being farther away from the nucleus makes it easier for the electron to be pulled off as it is more loosely bounded, so less energy is required to remove the electron which causes the ionization energy to be lower. So for groups, the more electrons the atom has, the lower the ionization energy.
Groups are vertical columns going down on the periodic table. If you look at a periodic table, across the top, you will see the numbers 1-18. Those numbers signify the 18 groups of the periodic table. Iodine is a halogen so it is under Group 17 to the far right of the periodic table.
I attached two periodic tables for reference to everything that I've said as I've written a lot. Hope that helps.