Because of the Sun's huge mass (99.86% of the whole mass of the Solar System), it had very strong gravity. The centrifugal force of the planets going round the Sun balances the gravitational pull of the Sun. The huge density at its core causes a fusion reaction which turns hydrogen into helium with the radiation of heat, light and other forms of electromagnetic radiation.