state the differences between function and relation​