In metric geometry, the concept of distance is generalised through the use of a metric, which is a function that defines a distance between any two points in a set, adhering to specific properties such as non-negativity, identity of indiscernibles, symmetry, and the triangle inequality.