One example is in Lagrangian mechanics, the action SS is defined as a functional that depends on the path taken by a system over time. It is given by the integral of the Lagrangian L (which itself is a function of the system’s coordinates, velocities, and time)