# What is the difference between a relation and a function?

We will use the concepts of sets to find the difference between relation and function.

## Answer: Hence, we can conclude that every function is a relation but every relation is not a function

Let us see how will use the concepts of sets to find the difference between relation and function.

**Explanation:**

Relation: It is the collection of ordered pairs of quantities that contains object from one set to another set. In other words, a relation can be defined as the bunch of some ordered pairs. Examples of relation are (1, 5), (1, 6), (3, -8), (3, -7), (3, -8).

Functions: A function is a form of relation that has one input from one set and the input has exactly one output from another set. Examples of function are (1, 5), (2, 6), (3, -8), (4, -7), (5, -8) .