Function was originally translated by Li, a mathematician of Qing Dynasty in China, in his book Algebra. He translated this way because "whoever believes in this variable is the function of that variable", that is, the function means that one quantity changes with another quantity, or that one quantity contains another quantity.
background
/kloc-in the 0/7th century, Galileo almost completely contained the concept of the relationship between functions or variables in his book Two New Sciences, and expressed the relationship between functions in words and proportional languages.
Descartes noticed the dependence of one variable on another in his analytic geometry around 1637, but he didn't realize the need to refine the concept of function at that time, so no one knew the general meaning of function until Newton and Leibniz established calculus in the late17th century, and most functions were studied as curves.