What makes the star give out vast amount of energy?
The nuclear fusion inside the core of star produces vast amount of energy. Nuclear burning (reaction) is much different from burning of simple hydrocarbons (coal, petrol, etc) where small amount of energy is produced. The Hydrogen gas or Helium is burnt as a nuclear fuel inside the star to produce energy. You will be studying about Nuclear reaction in your higher grades.