What Instrument Measures Wind Direction?

Wind socks and weather vanes are used to determine the direction of the wind. Both instruments work by moving into the wind to lower the amount of resistance they are being met with.