Answer:
A function is mathematical relation where the domain (x/input) has only 1 range (y/output) that matches to it.
For example, if the domain is 7, it can only match to one range. 7 cannot match to (for example) 2 and 3. However, multiple domains can have the same range. For example, domains 7 and 8 can both output to range 2.
That is the main difference from an equation.
Examples:
f(x) = x^2
f(x) = |x|
f(x) =