Answer and explanation:
A function is when you match one x (value from the source) to one y (value from the image). A transformation is a part of a function, a kind of "add on" to a function.