Which instrument is used to indicate the direction of wind?

Two instruments for indicating wind direction are the wind sock and the wind vane. The wind vane is largely considered the more modern of the two.