Actually, the Sun "controls" the winds. Local heating, from solar radiation (affected, also, by the type of terrain and its absorbing/reflecting properties), produces regions of hotter and cooler air, and consequently lower and higher pressures (due to the thermal expansion and compression of the air), and air then moves from regions of higher pressure, to regions of lower pressure. Such air movement is wind.
Tides are a result of different magnitudes of external gravitational forces, acting upon different parts of Earth, as Earth rotates and thus changes the position of its parts, wrt external gravitational fields - especially, that of the Moon, although the the Sun's gravitational field also has an influence, affecting the comparative heights of tides, during different times of a year.