Metric space
A subset of a metric space can also be a metric space. We just measure distances the same way as in the bigger space. For example, a sphere in a 3D space can be considered a metric space. The distance is just the straight line between two points on the sphere.