he heating of the Earth's surface and atmosphere by the sun drives convection within the atmosphere and ocean. This convection produces winds and ocean currents. The greater the pressure differences between a low-pressure area and a high-pressure area, the stronger the winds
Hope this helps!