Winds occur where high-pressure air masses seek low-pressure areas. Prevailing winds are largely predictable and named for broad areas of the Earth over which they form. Convection cells circulate air flow and help regulate temperature around the globe.
Map by Kaidor, courtesy Wikimedia and NASA. CC BY-SA 3.0