The document summarizes the causes and patterns of wind globally and locally. Temperature differences between air masses cause pressure differences as warm air rises and cold air sinks, driving wind flows. On a local scale, this causes sea breezes as land heats up more than water during the day and land breezes as land cools faster at night. It also explains valley and mountain breezes caused by differences in heating and cooling of air in valleys versus mountainsides. Globally, prevailing winds are driven by similar temperature and pressure patterns.