Nuclear fusion and gravity are the two forces that determine a star's life. Nuclear fusion of hydrogen and helium provides the energy for the star and is kept within the star through its own gravitational pull. Some of these energy radiate outward space.