What is the difference between a relation and a function? Explain briefly. And cite at least one real life application of a function.