The Sun is a glowing ball of gas held together by gravity that is powered by nuclear fusion. It has a diameter of 1.392 million km and is made up primarily of hydrogen and helium. Nuclear fusion in the core converts hydrogen to helium, releasing enormous amounts of energy over billions of years. Features on the Sun include sunspots, solar flares, and prominences, which can impact Earth.