Note that, due to wind forces, the direction of movement of the aircraft, or track, is not the same as the heading.
An aircraft can have instruments on board that show to the pilot the aircraft heading.