Which is the main source of energy for the earth?

The sun is the biggest source of energy for the earth. The energy that actually reaches the earth is about 400,000,000,000,0000 kilowatt hours per day. Its energy is converted into food by the green plants. Now-a-days, solar energy is being used in solar cookers-heating systems, solar furnaces, lighting and producing electricity.