A huge ball of gas held together by gravity. The central core of a star is extremely hot and produces energy. Some of this energy is released as visible light, which makes the star glow. Stars come in different sizes, colors, and temperatures. Our Sun, the center of our solar system, is a yellow star of average temperature and size.