The domain of a relation consists of all the first numbers of ordered pairs, representing the x-values. The relations encompass the second numbers in each pair, which are the y-values.