How does the Z82 Calculate Wind?

I understand that a smartphone needs to be paired. (I haven't actually received my device yet.) I was wondering where the data to calculate wind speed and directions comes from? I assume it comes from a local weather source? Wondering how accurate it would be in my area?