Spontaneous fission occurs when a heavy nucleus spontaneously splits into two smaller nuclei and releases energy.