A nucleus is a tight cluster of protons and neutrons. The strong nuclear force holds it together while the protons' positive charges push each other apart. In most nuclei that balance lasts forever. In some, such as uranium-238 or carbon-14, the mix of protons and neutrons is off, and sooner or later the nucleus corrects it by throwing something out. Nothing triggers it from outside; that is what spontaneous means.
What gets thrown out decides what the nucleus becomes. Alpha decay ejects two protons and two neutrons together, a helium-4 nucleus: 92238U→90234Th+24He. The mass number falls by 4 and the atomic number by 2, so uranium becomes thorium. In beta decay a neutron turns into a proton and an electron shoots out: 614C→714N+−10e. The mass number stays 14 but the atomic number rises by 1, so carbon becomes nitrogen. Gamma emission releases a high-energy photon; the counts stay the same and only the energy drops. In every equation the top numbers add up on both sides, and so do the bottom numbers.
Contrast this with a chemical reaction. When sodium reacts with chlorine, electrons move between atoms, but every sodium nucleus is still sodium afterward, and heating makes the reaction faster. In radioactivity the element itself changes, and heating, cooling, squeezing, or locking the atom into a compound leaves the decay rate unchanged. If the atomic number changes, the process is nuclear; if only electrons and charges shift, it is chemistry.
Think of it like this. A nucleus is like a sports team with a lopsided roster of protons and neutrons. To even it out, it either releases a group of four (two of each: alpha) or switches one neutron to a proton and sends an electron away (beta). The proton count is the team's name, so changing it renames the team. Real teams choose when to trade; nuclei decay at random.
Core idea. Radioactivity starts by identifying the unstable nucleus and which emission (alpha, beta, or gamma) it releases, then tracking how the atomic number and mass number change as it decays toward a more stable nucleus.