Correct option is B
The Sun generates energy through nuclear fusion, a process in which hydrogen atoms fuse together to form helium, releasing massive amounts of energy in the form of light and heat. This energy travels through space and reaches Earth, where it is harnessed as solar energy. Nuclear fission, on the other hand, is the process used in nuclear reactors, not in the Sun.