A campfire burns wood, so it runs out. Deep inside the Sun, gravity squeezes hydrogen so hard that it joins into helium, giving out light. This is called fusion, and it has kept the Sun shining for about 4.6 billion years.