All energy on earth except a small amount from the earth’s core comes from the heat of the sun, hot and rising air causes wind, the sun’s heat drives the water cycle that takes water from the ocean and lets it falls on the mountains, where it runs down through dams, generating electricity!