Both take the wind (I think it comes in as cm/s), compare it to the ground speed at that time, then calculate what the implied headwind is in km/h. If it’s negative then you have a tailwind obvs.
I’ve not found any other uses for the data yet, but if you look at the fit file, there is a lot of stuff in there -
You can easily create custom activity streams to pickup those fields. Have a look at the record fields for the fit file for an activity (“Original Fit File” on the activity data tab) on fitfileviewer.com: