What is the main difference between a relation and a function?
A relation shows a connection between elements of two sets, where one input can have multiple outputs.
A function is a special type of relation where each input has exactly one output.