What+is+a+function?

You can refer to this to help make sense of what is a function and how it differs from a mathematical relation.