Relation and Function creates a lot of confusion to the students as they both are closely related to each other. One needs to have a clear knowledge about them so as to differentiate between them. So here we provide differences between both of them.

**Relation- **Two or more sets can be related to each other by any means. Consider for an example two sets A and B having m and n elements respectively, we can have a relation with any ordered pair which shows a relation between the two sets.

**Functions- **A functions can have a same Range mapped as that of in Relation, such that a set of inputs is related with exactly one output.

Consider for an example Set A & Set B are related in a manner that all the elements of Set A are related to exactly one element of Set B or many elements of set A are related to one element of Set B. Thus this type of relation is said to be a Function.

It is to be noted that a function cannot have One to Many Relation between the set A and B.