Nuclear fusion in the Sun occurs through a series of processes known as the proton-proton chain reaction, where hydrogen nuclei (protons) collide and fuse under extreme temperatures and pressures to form helium, releasing vast amounts of energy in the process.