GPS gives you a 3D fix (lat/lon/height). A common use case in aviation, particularly drones, is avoiding controlled airspace. The height of controlled airspace varies with location - for example a rural area might be 7500ft while near an airport traffic zone it might be only 1000ft or lower.