A metric space is a non-empty set together with a metric or distance function that satisfies four properties: distance is always greater than or equal to 0; distance is 0 if and only if points are equal; distance is symmetric; and distance obeys the triangle inequality. A function between metric spaces is continuous if small changes in the input result in small changes in the output. A function is uniformly continuous if it is continuous with respect to all possible inputs, not just a single point. A metric space is connected if it cannot be represented as the union of two disjoint non-empty open sets.