FC knows what direction it should be moving from waypoints, RTB, etc.
FC needs to know what direction it is actually pointing too. If needs to be 15 degrees more to the left, then it knows to do a shallow left turn.
Copter type aircraft can fly sideways or backwards, so you can't really use aircraft motion direction when you need aircraft pointing direction. In some cases with airplanes, you _can_ use aircraft motion direction when you need aircraft pointing direction, but that assumes that the wind speed is small when compared to airplane speed.
If wind is from the north and airplane is pointing west and wind speed is the same as airplane speed, then the airplane motion direction will be southwest but it's pointing direction will be west.
If the wind is from the north and airplane needs to go north and is pointing north but wind speed is faster than airplane speed, then the airplane motion direction will be south. If there is no compass and it just uses GPS bread crumb trail for direction, the FC will think it needs to rotate 180 degrees, and soon it will be pointing south and flying double speed down wind when it needs to constantly point north and increase throttle or wait for the wind gust to die down.
Adding an airspeed sensor and assuming that the wind is fairly constant, there is some math the FC could do to estimate the wind speed and direction, and thus estimate the true direction the airplane is pointing. It does not do that. There are several different ways to estimate airspeed and wind speed / direction using only GPS data. Even without an airspeed sensor, if you know wind speed / direction some estimates can be made. You could even enter the wind speed / direction as a constant before the flight.
There are other uses for knowing the wind speed and direction. Automated landing into the wind, and estimating fuel / battery needed to get back to base with a head wind (automated warning or automated RTB) come to mind.