As you already know, sunlight (solar energy, or energy from the Sun) is the primary source of energy for all processes that occur in Earth's atmosphere and hydrosphere. This means that solar energy is also the primary driver of winds and ocean currents .