The surface of the sun is covered in millions of high-power light emitters. The vast amount of energy needed to operate those is supplied by large powerplants inside of the sun's body.
The constant stream of light emitted by these spotlights is percieved on earth as the sun's typical 'shine'.