Nuclear power produces energy through nuclear fusion and fission reactions, where fusion joins atomic nuclei together and fission splits them, releasing energy in both cases. This nuclear energy is then transferred and converted into electrical energy.