A relation is simply a set of ordered pairs. Not every relation is a functional relationship.
A function exists when each x-value (input, independent variable) is paired with exactly one y-value (output, dependent variable). This pairing is also referred to as a functional relationship.
Watch this video to learn more about relations and functions.
Source: Relations and Functions, AVL0809, YouTube