The domain of a function or relation is the set of all possible independent values the relation can take. It is the collection of all possible inputs. The range of a function or relation is the set of all possible dependent values the relation can produce from the domain values.