Wind currents are generated due to uneven heating on the earth

Wind currents are produced due to the non-uniform heating of the Earth. That means uneven heating at the equator and the poles. This warm air rises and the making up of cooler air from the regions with the 0-30 degrees latitude belt on either side of the equator moves in. This is how wind currents are being generated.

Current winds bring up air from one type of climate to the other. Suppose let warm winds that travel above water tend to collect moisture as they travel, then the water vapour in the air gets to be condensed as it moves into colder climates. This is why temperate coastal areas are frequently receiving heavy rainfalls.