The Haversine formula determines the great-circle distance between two points on a sphere given their latitudes and longitudes.