The Robertson-Walker metric is used in cosmology to describe space-times that are compatible with the cosmological principle of spatial homogeneity and isotropy. It defines the proper distance and intervals between events in an expanding universe using comoving coordinates and the scale factor a(t) that describes the expansion over time. Key relationships defined include the luminosity distance and angular diameter distance, relating observed properties of distant objects to the scale factor at emission and observation times.