Answer:
The sun generates energy in its core in a process called nuclear fusion. During nuclear fusion, the sun's extremely high pressure and hot temperature cause hydrogen atoms to come apart and their nuclei (the central cores of the atoms) to fuse or combine.