Given a scientific question, generate a correct answer to it.

How does the sun generate energy?
nuclear fusion