What causes local winds?

Local winds are caused by the unequal heating of earth's surface within a small area.