Ionization energy is the minimum energy needed to remove an electron from a gaseous atom. It increases across a period and decreases down a group, reflecting nuclear charge and electron shielding.
From your study of periodic trends and electron configuration, you know that electrons occupy specific energy levels around the nucleus and that the number of protons increases steadily across a period. Ionization energy (IE) puts a number on how tightly an atom holds its outermost electron — specifically, it is the minimum energy required to completely remove that electron from a gaseous atom in its ground state. The atom starts neutral and ends as a cation with a +1 charge. This is always an endothermic process: you must supply energy to pull an electron away from the attractive force of the nucleus.
The trend across a period is straightforward once you think about it in terms of effective nuclear charge (Z_eff). As you move from left to right across a period, protons are added to the nucleus and electrons are added to the *same* shell. Electrons in the same shell are poor at shielding each other from the nucleus, so Z_eff increases steadily. The outermost electron feels a stronger pull, and it takes more energy to remove it — ionization energy rises. Sodium (first element of period 3) has a low ionization energy because its single valence electron is loosely held; argon (end of period 3) has a high ionization energy because its valence electrons experience much greater effective nuclear charge.
Moving down a group, ionization energy *decreases* even though the nuclear charge increases. The reason is that each new period adds a whole new electron shell, placing the outermost electron farther from the nucleus and behind more layers of inner-electron shielding. The increased distance and shielding outweigh the extra protons, so the outermost electron is easier to remove. This is why cesium, at the bottom of Group 1, has one of the lowest ionization energies of any element — its valence electron is far from the nucleus and heavily shielded.
Two notable exceptions disrupt the smooth trend across a period. First, Group 13 elements (like B, Al) have slightly *lower* ionization energy than the preceding Group 2 elements (Be, Mg), because the electron being removed from Group 13 is in a higher-energy p subshell rather than an s subshell — it is easier to remove. Second, Group 16 elements (like O, S) have slightly lower ionization energy than Group 15 (N, P), because in Group 16 one p orbital contains a *paired* electron, and electron-electron repulsion within that orbital makes it easier to remove. These dips are not random — they reflect the subshell structure you learned in electron configurations and reinforce that ionization energy is ultimately governed by how strongly the nucleus grips each specific electron.