A simple example is calculating the area under a curve. If the function f(x) is integrated from a to b, we get an output which is a number showing the area under the curve.
For example in chemistry, in chromatography the detector signal is a function of time, and the area under a peak gives a number proportional to the amount of substance in the sample.