Answer:
Fuse hydrogen atoms into helium.
Step-by-step explanation:
The Sun, unlike the Earth, is made up primarily of hydrogen gas. The Earth, on the other hand, is made up of iron, water, rock, and other elements.
The core of the sun is the hottest part of it and there's an enormous amount of pressure at it. This causes that the hydrogens atoms fuse together because of the pressure and make a reaction known as the nuclear fusion that converts those atoms into helium ones and release big amounts of energy into the solar system.
I hope this answer helps you.