Long before electronic instruments became the norm in general aviation aircraft, there were (and still are) two primary means for identifying an aircraft’s heading: the magnetic compass and the heading indicator or directional gyro.
Both VFR and IFR pilots must be familiar with these instruments, know how to correct the errors associated with each, and understand how they practically relate to each other.
The compass points to the magnetic north pole, but that is not the same as the geographic north pole. So, you will need to correct for the variation this difference creates between your true and magnetic course headings. Review the sectional chart to find the number of degrees to subtract for easterly variation or add for westerly variation.
The heading indicator is not affected by the factors that cause errors in the magnetic compass. It operates with an internal gyro that spins horizontally, and the aircraft rotates around it. A heading card indicates the aircraft's direction of travel. While it is not affected by magnetic variation or deviation, there are errors associated with the heading indicator. First, friction causes the heading to drift from where you set it. This is called “precession.” Second, the rotation of the Earth at a rate of 15 degrees per hour affects the gyro and causes the heading indicator to stray from its accurate heading. Adjusting the heading indicator to match the compass is part of your pre-takeoff checklist, but you also must manually correct the instrument regularly in flight (approximately every 15 minutes). Otherwise, the heading indication will stray from the actual heading at a rate of 15 degrees per hour.
Depending on the length of your flight, these errors—if left unadjusted—could cause you to stray far enough off heading to become disoriented when you try to visually identify landmark references. Many GA pilots have the advantage of additional heading references on electronic instrumentation, but that doesn’t take away the need to understand the basics as well.