A collection of ordered pairs having one item from each set makes up a relation between two sets. If the ordered pair (x,y) is present in the relation and the items x and y come from different sets, then the objects are said to be connected. One kind of connection is a function.