solar plant works when the sun shines onto a solar panel,energy from the sunlight is absorbed by the PV cells in the panel,This energy creates electricalcharges