Answer :

A relation are two sets of elements noted as input and output. Within relations, the input and the output have something in common.

A function is also about input and output but in a function, the input has nothing in common with the output.

Other Questions