DME measures the slant range (direct line distance) from the aircraft to the DME ground station, not the horizontal distance over the ground. As an aircraft flies directly overhead, the DME shows the aircraft's altitude at that point. True altitude and vertical guidance are provided by other instruments like altimeters and glidepath indicators.