Which of these statements best compares the processes by which energy is produced in the sun and nuclear power plants?