Within systems theory, a function may be defined as a process that transforms energy or resources from one state to another; it is how a system operates. There are three central components to a system’s functioning; the set of things that form the inputs, the process that alters these input according to some set of instructions, and the output that is returned to the environment.