All you Need to Know about Relations and Functions