In mathematics, the term Function is very famous, if we look in the historical background the term function was first used by very well known Mathematician Leibniz in 1676, who put the meaning of function in term of that dependence of one quantity on another quantity. Function is also known as the input and output machine. Look at some example to clear the concept:

Consider the formula for finding the area of circle is , if we look at carefully that the area of any circle is depend upon the radius of that circle, we also say that Area is a function of Radius .

A factory worker whose salary may be depending on the number of hours worked. In this example Salary (Amount in Dollar) is function of working hours (Time ).

The volume of a space occupied by a gas having a constant pressure depends upon the temperature of the gas. In this example Volume () is a function of Temperature ()
All in above examples, there is a relation between such quantities is often given by means of function.