What wind's purpose is
Some say there is no purpose. Some say distrubtion of heat across the planet. Anyway, here is what wind does.
Differential heating is the motive force behind land breezes and sea breezes (or, in the case of larger lakes, lake breezes), also known as on- or off-shore winds. Land absorbs and radiates heat quicker than water, but water gives out heat over a longer amount of time. The efect of that, in locations where sea and land meet, heat absorbed over the day will be radiated faster by the land at night, cooling the air. Over the sea, heat is still being released into the air at night, which rises. This convective motion draws the cool land air in to replace the rising air, resulting in a land breeze in the late night and early morning. During the day, the roles are reversed. Warm air over the land rises, pulling cool air in from the sea to replace it, giving a sea breeze during the afternoon and evening.
Mountain breezes and valley breezes occur because a combination of differential heating and geometry. When the sun rises, it is the tops of the mountain peaks which receive first light, and as the day progresses, the mountain slopes take on a greater heat load than the valleys. This results in a temperature inequity between the two, and as warm air rises off the slopes, cool air moves up out of the valleys to replace it. This upslope wind is called a valley breeze. The opposite effect takes place in the afternoon, as the valley radiates heat. The peaks, long since cooled, move air into the valley in a procedurre that is partly gravitational and partly convective and is called a mountain breeze.
Forested areas are less windy than plains and cities because the trees disrupt wind patterns. Trees are defined to have a dampening effect on wind speeds in that they lower the partial removal of pressure differences across non-infinitively dwelling plain. More effects of trees wind lowering capabilities is in the fact that trees bend in the wind. Considering the mass of a tree in comparison to air particles it is highly predicable that much of the total energy of the wind is lost in kinetic energy to the trees.
As you've read, all these include heat.